我卸載了,因爲SSH問題的點子。現在我想重新安裝點子。每次我收到這個。MacOS的PIP卸載不明白爲什麼PIP無法重新安裝
我該怎麼辦糾正,以使得PIP可以重新安裝?
Traceback (most recent call last):
File "/usr/local/bin/pip", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3019, in <module>
@_call_aside
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 655, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pip==9.0.1' distribution was not found and is required by the application
的[?我如何從我的虛擬環境中更新PIP本身(可能的複製https://stackoverflow.com/questions/15221473/how-do-我更新-PIP-本身 - 從 - 內 - 我的虛擬環境) –