可能重复:
pip install PyQt IOError
我的环境是安装了 python 2.7.2 的 windows 7。
我正在尝试通过 PIP 安装一些软件包,由于找不到 setup.py 而失败,见下文:
C:\MyInstall\Python27\Scripts>pip install PyQt
Downloading/unpacking PyQt
Downloading PyQt-x11-gpl-4.9.1.tar.gz (9.7Mb): 9.7Mb downloaded
Running setup.py egg_info for package PyQt
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: 'C:\\MyInstall\\Python27\\Scripts\\build\\PyQt\\setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: 'C:\\MyInstall\\Python27\\Scripts\\build\\PyQt\\setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in C:\MyInstall\Python27\Scripts\build\PyQt
Storing complete log in C:\Users\Administrator\AppData\Roaming\pip\pip.log
任何人都可以为这个错误提供一些指导吗?我是 Python 新手