执行此操作时收到以下错误,无法安装storm。你知道吗
安装的pip版本如下:
项目19.2.3
pip install storm
Using cached https://files.pythonhosted.org/packages/a7/4c/e5dbc818c432cd80d2e1aa1576f911eda49a3c206c6697db4070f402cda9/storm-0.20.tar.bz2
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/python/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lk/wrg280_17c78l9kysqx26pdc0000gp/T/pip-install-so_kwd18/storm/setup.py'"'"'; __file__='"'"'/private/var/folders/lk/wrg280_17c78l9kysqx26pdc0000gp/T/pip-install-so_kwd18/storm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /private/var/folders/lk/wrg280_17c78l9kysqx26pdc0000gp/T/pip-install-so_kwd18/storm/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/lk/wrg280_17c78l9kysqx26pdc0000gp/T/pip-install-so_kwd18/storm/setup.py", line 5, in <module>
import ez_setup
File "/private/var/folders/lk/wrg280_17c78l9kysqx26pdc0000gp/T/pip-install-so_kwd18/storm/ez_setup.py", line 106
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.```
当试图安装strom
时,我收到了上面的错误。你知道吗
尚未维护Python的包
storm
。最新版本0.20于2013年发布。这个项目根本不支持python3。你知道吗它在包中,语法错误。您需要更改上述行中的逗号(此符号“,”):
到“as”,应该是这样的:
但如果您刚刚开始这个项目,请不要使用storm,因为它的上一次更新是在近7年前,而且不清楚它是否与Python3兼容。 我不知道你在用它做什么,但要不断寻找支持的东西。如果您不确定哪个软件包正在获得支持,请搜索上一个realease日期: PyPi library
直接从shell/terminal安装可能比在程序中安装更有帮助。你知道吗
相关问题 更多 >
编程相关推荐