[英]Homebrewed Python 2.7 pip is not working
我使用自制软件安装了python 2.7,并通过更新了pip
easy_install pip
pip install -U pip
在此之后,我尝试安装python软件包,但出现此错误;
pip install pyfasta
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 2749, in <module>
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 446, in _build_master
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 459, in _build_from_requirements
File "build/bdist.macosx-10.9-x86_64/egg/pkg_resources.py", line 628, in resolve
pkg_resources.DistributionNotFound: pip==1.5.4
感谢您对PIP的使用有所帮助。
brew --env
:
HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local CMAKE_INCLUDE_PATH:/usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH:
/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR:
/usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
ACLOCAL_PATH: /usr/local/share/aclocal PATH:
/usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbinBrew --env
brew --config
:
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 56ec04a5cfb1bc759a429229128b66d76b44144e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
Clang: 5.1 build 503
X11: 2.7.5 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.