python3.6中出现ModuleNotFoundError: No module named 'pkg_resources'

执行了这句

pip3 uninstall setuptools

之后就出现了:

Traceback (most recent call last):
  File "/usr/bin/pip3", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

解救办法:

wget https://bootstrap.pypa.io/ez_setup.py -O - | python36

原文:https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources


展开阅读全文

没有更多推荐了,返回首页