>pip
Traceback (most recent call last):
File "/usr/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 49, in <module>
from pkg_resources.extern import six
File "/usr/lib/python3.6/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module
"distribution.".format(**locals())
ImportError: The 'six' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.我使用pacman -S python以及pacman -S python-setuptools、pacman -S python-packaging和pacman -S python-six重新安装,没有任何帮助。
现在,几乎所有其他python应用程序都遵循相同的模式(如qutebrowser和buku )。
我认为这是在我手动安装vmware-vcli之后发生的,我按照关于这个主题的ArchWiki指南(我知道它的珀尔,但可能是无关的)。
将python-setuptools降级为在类似文章中建议在/var/cache/pacman/pkg中安装早期版本并没有解决问题。
发布于 2018-04-05 08:32:00
我在运行pip3 install --upgrade pip时也遇到了同样的问题。
然而,pip3.5 install --upgrade pip为我工作。升级之后,pip3的错误消息消失了。
https://stackoverflow.com/questions/45620024
复制相似问题