pip報錯:解決pkg_resources.DistributionNotFound: The 'pip==7.1.0' distribution was not found and is required by the application


如果pip安裝后提示依然沒有pip命令,需在在添加環境變量

# vim /etc/profile

在文檔最后,添加:

export PATH="/usr/local/python2.7/bin:$PATH"

保存,退出

然后運行:

#source /etc/profile


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM