python无法安装任何scrip

2024-04-25 20:38:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我从brew安装了python

brew install python

然后安装pip

sudo easy_install pip

在终端

$ which easy_install
/usr/bin/easy_install

$ which python
/usr/bin/python

但是当我想安装任何Python脚本时,我会得到以下结果:

Searching for pexpect
Best match: pexpect 4.2.1
Adding pexpect 4.2.1 to easy-install.pth file

Using /Library/Python/2.7/site-packages
Processing dependencies for pexpect
Finished processing dependencies for pexpect
Searching for pycrypto
Best match: pycrypto 2.6.1
pycrypto 2.6.1 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages
Processing dependencies for pycrypto
Finished processing dependencies for pycrypto
Searching for pyopenssl
Best match: pyOpenSSL 0.13.1
pyOpenSSL 0.13.1 is already the active version in easy-install.pth

Using /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Processing dependencies for pyopenssl
Finished processing dependencies for pyopenssl
Searching for pefile
Best match: pefile 2017.9.3
pefile 2017.9.3 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages
Processing dependencies for pefile
Finished processing dependencies for pefile

下面是问题的图像:


Tags: installforsearchingmatcheasylibrarydependenciespth