python错误 invalid command 'bdist_wheel' & outside environment /usr
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于python错误 invalid command 'bdist_wheel' & outside environment /usr的主要内容,如果未能解决你的问题,请参考以下文章
python安装locustio报错error: invalid command 'bdist_wheel'的解决方法
解决RuntimeError: CUDA error: invalid device symbol问题(已解决)
Invalid command 'WSGIScriptAlias', perhaps misspelled or defined by a module not inc
Github actions rails commands "/bin/ruby: invalid option -: (-h will show valid options) (Runti