在Windows 7上的python中安装spynner

时间:2015-07-20 10:10:13

标签: python spynner

我想在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?感谢

1 个答案:

答案 0 :(得分: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