wsl:: python uv run 실행시 tkinter pyqt 등 GUI library 에러 발생

 

 

[xcb] Unknown sequence number while appending request
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
python: ../../src/xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.
Aborted (core dumped)

 

간단한 명령줄임에도 오류가 발생.

일반 python 환경에서 실행하면 tkinter 기본 창이 실행되지만, uv 환경에서는 오류가 발생함.

 

아래 깃허브 관련 이슈로 등록되고 OPEN 상태임

 

https://github.com/astral-sh/python-build-standalone/issues/146

 

Not able to run a tkinter program · Issue #146 · astral-sh/python-build-standalone

I am using the bazel/rules_python to compile our python code. according to the configuration, we are using the cpython-3.9.13+20220802-x86_64-unknown-linux-gnu-install_only.tar.gz as our python int...

github.com

 

 

 

 

 

_

반응형