pip install failure:命令python setup.py egg_info失败,错误代码为1

时间:2012-05-05 08:32:23

标签: python pip

  

可能重复:
  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的新手

0 个答案:

没有答案