我目前在 GNOME 上并尝试运行 playonlinux 但不幸的是,当我尝试启动它时,我得到了这个:
"Looking for python... 2.7.11 - Traceback (most recent call last):
File "/usr/share/playonlinux/python/check_python.py", line 1, in <module>
import os, wxversion
ImportError: **No module named wxversion**
failed tests
Looking for python2.7... 2.7.11 - Traceback (most recent call last):
File "/usr/share/playonlinux/python/check_python.py", line 1, in <module>
import os, wxversion
ImportError: **No module named wxversion**
failed tests
Looking for python2.6...
Looking for python2... 2.7.11 - Traceback (most recent call last):
File "/usr/share/playonlinux/python/check_python.py", line 1, in <module>
import os, wxversion
ImportError: **No module named wxversion**
failed tests
Please install python before trying to run this program"
我尝试重新安装 Python 和 Playonlinux,但没有成功。
我已经安装了 python-wxgtk3.0,但是当我用一个小的 python 脚本列出我拥有的所有 python 包时,它没有出现......
我的 Python 版本是 2.7.11。
有人知道我能做什么吗?
谢谢,
拉扬
最佳答案
可以引用这个How to install wxPython
使用 pip 安装 wxPython-Phoenix (Linux):
sudo pip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython
或者这个 SO Post
关于python - 启动 playonlinux 时出现错误 "No module named wxversion",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46590865/