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

posted @ 2019-04-03 13:15  路在脚下丶  阅读(5947)  评论(0)    收藏  举报