解決安裝虛擬環境出現的問題(OSError: Command /home/python/.virtua...ngo3_web/bin/python3 - setuptools pkg_resource

python3的報錯解決:python

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

 

出現上面的這個錯誤,依次輸入如下兩個命令python2.7

 

 成功更新後,再次安裝虛擬環境,即可以安裝成功了spa

 

 

 python2的報錯:code

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

 

 

python@bogon:~$ pip -Vip

 

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

 

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

 

 

python@bogon:~$ mkvirtualenv datanaclass

相關文章
相關標籤/搜索