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 @   不能说的秘密  阅读(274)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2021-08-09 Python3.7 Pyinstaller 打包Face_Recognition程序
点击右上角即可分享
微信分享提示