python3的报错解决:

OSError: Command /home/python/.virtua...ngo3_web/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2

 

出现上面的这个错误,依次输入以下两个命令

解决安装虚拟环境出现的问题(OSError: Command /home/python/.virtua...ngo3_web/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2)

 

 成功更新后,再次安装虚拟环境,便可以安装成功了

解决安装虚拟环境出现的问题(OSError: Command /home/python/.virtua...ngo3_web/bin/python3 - setuptools pkg_resources pip wheel failed with error code 2)

 

 

 python2的报错:

OSError: Command /root/.local/share/letsencrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 2 #4062

 

 

python@bogon:~$ pip -V

 

pip 8.1.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)

 

python@bogon:~$ sudo pip install --upgrade pip

 

 

python@bogon:~$ mkvirtualenv datana

 

相关文章:

  • 2021-04-03
  • 2021-08-08
  • 2021-09-24
  • 2021-09-10
  • 2021-12-25
  • 2021-11-05
  • 2022-12-23
  • 2021-08-20
猜你喜欢
  • 2022-12-23
  • 2021-04-20
  • 2021-08-03
  • 2022-02-07
  • 2021-06-14
相关资源
相似解决方案