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