无法在Mac上安装Vowpal Wabbit

问题描述

我正在尝试通过pipenv install安装Vowpal Wabbit。但是失败,并出现以下错误

ERROR: Command errored out with exit status 1: /Users/johnchan/.local/share/virtualenvs/ATEC-s3CStNz5/bin/python -u -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/private/var/folders/6b/nnn57rdn6ps7h0pn78h8hnrm0000gp/T/pip-install-rjmca3xe/vowpalwabbit/setup.py'"'"'; __file__='"'"'/private/var/folders/6b/nnn57rdn6ps7h0pn78h8hnrm0000gp/T/pip-install-rjmca3xe/vowpalwabbit/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record /private/var/folders/6b/nnn57rdn6ps7h0pn78h8hnrm0000gp/T/pip-record-80qogib2/install-record.txt --single-version-externally-managed --compile --install-headers /Users/johnchan/.local/share/virtualenvs/ATEC-s3CStNz5/include/site/python3.8/vowpalwabbit Check the logs for full command output.

解决方法

我们刚刚发布了8.9版本,该版本带有二进制车轮。如果您现在尝试安装,它应该会更简单:

pip install vowpalwabbit==8.9.0

如果仍然存在问题,您可以提供完整的日志输出吗?