使用Ubuntu和python 2.7.6。當我嘗試使用PIP,只是PIP依次輸入,pkg_resources.DistributionNotFound:未找到'pip == 1.5.4'發行版,並且應用程序需要
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3095, in <module>
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3081, in _call_aside
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 660, in _build_master
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 673, in _build_from_requirements
File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 846, in resolve
pkg_resources.DistributionNotFound: The 'pip==1.5.4' distribution was not found and is required by the application
一般其中要求來自'pip'狀態的輸出。您應該添加'pip'的全部輸出(並將其格式化爲代碼)。 –