我正在尝试通过pip安装名为“simpleguitk”的软件包。 (在Ubuntu 16.04使用Python 3.5)
运行使用pip安装模块,未找到
sudo -H pip3 install simpleguitk
后,它说,安装成功完成。 (除pygame的dependecy这实际上是可选的)
Collecting simpleguitk
Using cached SimpleGUITk-1.1.3.tar.gz
Collecting Pillow>=2.0.0 (from simpleguitk)
Using cached Pillow-3.4.2-cp35-cp35m-manylinux1_x86_64.whl
Collecting pygame>=1.9.0 (from simpleguitk)
Could not find a version that satisfies the requirement pygame>=1.9.0 (from simpleguitk) (from versions: 1.9.2.dev1, 1.9.2b7, 1.9.2b8)
No matching distribution found for pygame>=1.9.0 (from simpleguitk)
我无法找到包在/usr/local/lib/python3.5/dist-packages 或/usr/lib/python3.5或/ usr/lib目录/ python3
当我尝试导入模块,它说:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'simpleguitk'
我试图重新安装,但运行:
sudo -H pip3 uninstall simpleguitk
返回:“无法卸载要求simpleguitk,没有安装 ”
我已经尝试了这两个点8.1.2和点9.0.1具有相同的结果。 我甚至重新安装了Ubuntu,但仍然一样。
我认为Python路径是错误的,因为它没有蟒蛇3.5,但我不知道如何解决它
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0']
'〜/ .pip.log'说什么? – Flint