0

我想在 Windows 7 上的 python 2.7.9 中安装 spynner。我尝试使用 'pip' 但它给出了错误。追溯:

    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "c:\users\paramvir\appdata\local\temp\pip_build_Paramvir\autopy\setup.py", line 222, in <
module>
        EXT_MODULES = create_ext_modules('src/')
      File "c:\users\paramvir\appdata\local\temp\pip_build_Paramvir\autopy\setup.py", line 180, in c
reate_ext_modules
        raise IOError('windows directory not found at: "%s"' % win_dir)
    IOError: windows directory not found at: "c:\users\paramvir\appdata\local\temp\pip_build_Paramvi
r\autopy\windows\win32"
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "c:\users\paramvir\appdata\local\temp\pip_build_Paramvir\autopy\setup.py", line 222, in <modu
le>

    EXT_MODULES = create_ext_modules('src/')

  File "c:\users\paramvir\appdata\local\temp\pip_build_Paramvir\autopy\setup.py", line 180, in creat
e_ext_modules

    raise IOError('windows directory not found at: "%s"' % win_dir)

IOError: windows directory not found at: "c:\users\paramvir\appdata\local\temp\pip_build_Paramvir\au
topy\windows\win32"

如何安装 spynner?谢谢

4

1 回答 1

0

我最近遇到了和你一样的错误,我在不使用 pip 命令的情况下修复了它

  1. 下载 spynner zip 文件并解压缩到 C:\Anaconda\Lib\site-packages 这里是链接: https ://pypi.python.org/pypi/spynner

  2. 下载 autopy 文件并安装 windows 安装程序 https://pypi.python.org/pypi/autopy/0.51

于 2015-09-22T07:30:44.063 回答