1
>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-setuptoolspacman -S python-packaging,pacman -S python-six没有任何帮助。

现在几乎所有其他应用程序都遵循相同的模式(例如qutebrowserbuku.

我认为它是在我按照ArchWikivmware-vcli指南手动安装之后发生的(我知道它的并且可能不相关)。


python-setuptools按照类似帖子中的建议通过安装早期版本进行降级/var/cache/pacman/pkg并不能解决问题。

4

1 回答 1

0

我在运行时遇到了完全相同的问题pip3 install --upgrade pip

但是,pip3.5 install --upgrade pip为我工作。升级后 pip3 的错误信息消失了。

于 2018-04-05T08:32:00.100 回答