【发布时间】:2019-10-11 21:29:59
【问题描述】:
我在 Windows 10 上安装了 python 3.7.0,但无法安装 Vowpalwobbit。当我使用命令时:
pip install vowpalwabbit
我明白了:
Building wheels for collected packages: vowpalwabbit
Building wheel for vowpalwabbit (setup.py) ... error
ERROR: Complete output from command 'c:\users\user\appdata\local\programs\python\python37-32\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-0tp3npd1\\vowpalwabbit\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\User\AppData\Local\Temp\pip-wheel-78e8xolx' --python-tag cp37:
ERROR: running bdist_wheel
...
File "C:\Users\User\AppData\Local\Temp\pip-install-0tp3npd1\vowpalwabbit\setup.py", line 115, in build_extension
raise Exception('Pre-built vw/python library for Windows is not supported for this python version')
Exception: Pre-built vw/python library for Windows is not supported for this python version
我试过用 Python 3.5.0 还是不行。
【问题讨论】:
-
您的错误信息说不支持 Windows,并且在包的 PyPI 页面上没有相反的指示。
-
@phd 我遇到了一些错误i.imgur.com/psO7Ij2.png
标签: python pip vowpalwabbit