ubuntu18.04安装wxPython

下载whl

https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/
从这个连接里下载对应的whl

pip

pip install wxPython-4.1.1-cp38-cp38-linux_x86_64.whl

缺少libSDL2-2.0.so.0

“ImportError: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory”

解决方法

sudo apt-get install git curl libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libsdl2-2.0-0
posted @ 2022-08-09 10:07  不能说的秘密  阅读(253)  评论(0编辑  收藏  举报