直接去官网下载轮子: 链接:https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ 根据自己电脑的ubuntu的版本以及使用的python版本进行选择下载,下载好之后再使用pip install xx.whl 导入即可