我正在运行运行 Ubuntu 20.04 的 AWS。我正在尝试安装该软件包pyicu,但遇到了问题。我尝试运行sudo apt install libicu-dev,但仍然无法安装 pyicu。我无法在 aws 服务器上安装brew。还有其他建议吗?这是错误消息:
ERROR: Command errored out with exit status 1:
command: /root/dev/big5_rest/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-se360cxw/pyicu/setup.py'"'"'; __file__='"'"'/tmp/pip-install-se360cxw/pyicu/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 /tmp/pip-install-se360cxw/pyicu/pip-egg-info
cwd: /tmp/pip-install-se360cxw/pyicu/
Complete output (53 lines):
Traceback (most recent call last):
File "/tmp/pip-install-se360cxw/pyicu/setup.py", line 63, in <module>
ICU_VERSION = os.environ['ICU_VERSION']
File "/usr/lib/python3.8/os.py", line 675, in __getitem__
raise KeyError(key) from None
KeyError: 'ICU_VERSION'
During handling of the above exception, …Run Code Online (Sandbox Code Playgroud)