码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2019-11-19 00:51:08      阅读:117      评论:0      收藏:0      [点我收藏+]

标签:line   def   and   try   ror   trunk   ges   bin   packages   

问题描述:【问题未解决,这里只是先记录下来

Traceback (most recent call last):
File "/usr/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3251, in <module>
def _initialize_master_working_set():
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3263, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/python3/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘pip==7.1.0‘ distribution was not found and is required by the application


 

 

 

ImportError: Entry point (‘console_scripts‘, ‘easy_install‘) not found

第一步:删除easy_install
rm -f /usr/bin/easy_install*
rm -f /usr/local/bin/easy_install*
curl -O https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py

python distribute_setup.py
rm distribute_setup.py

 

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

标签:line   def   and   try   ror   trunk   ges   bin   packages   

原文地址:https://www.cnblogs.com/music-liang/p/11886415.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!