author:pprp
date:18/8/12 ---1. AttributeError: Module Pip has no attribute 'main'
solution:降低pip的版本
python -m pip install --upgrade pip==9.0.3
2. AttributeError: '_NamespacePath' object has no attribute 'sort'
- recommend you try this:
pip install --upgrade pip setuptools
Failed
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.5/dist-packages/setuptools-19.6-py3.5.egg'
- reference:
Had the same issue with pip install. The following worked for me.
easy_install pipeasy_install setuptools
成功了
StackOverflow是一个好网站,只要耐下心来,仔细思考就可以解决这些问题。