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

猜你喜欢

转载自www.cnblogs.com/theWinter/p/10648188.html