Python 错误 invalid command 'bdist_wheel' & outside environment /usr

按照网上说的执行以下命令

sudo pip install --upgrade setuptools
sudo pip install --upgrade pip

 结果

Not uninstalling setuptools at /usr/lib/python2.7/dist-packages, outside environment /usr

虽然有下载但更新并不成功
应该跟python2/3环境有关
执行以下命令

sudo apt-get install python3-pip

 
解决问题

 

参考文献:https://stackoverflow.com/questions/14426491/python-3-importerror-no-module-named-setuptools

 

posted @ 2017-07-17 21:06  jhc888007  阅读(3037)  评论(0编辑  收藏  举报