我正在尝试安装Python v2软件包(是的,EOL,我知道),当我做BBB::boo()
时,我收到一条消息,提示另一端在Python V3中:>
pip install bezier
是否可以访问V2软件包(秘密的>> pip2 install --user bezier
Collecting bezier
Downloading https://files.pythonhosted.org/packages/b9/0c/b1982f93c36fc06850a3880bb693bf24a047946633ca7403664836b9da9e/bezier-2020.5.19.tar.gz (313kB)
100% |████████████████████████████████| 317kB 2.4MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-qgjAbR/bezier/setup.py", line 93
print(NUMPY_MESSAGE, file=sys.stderr)
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qgjAbR/bezier/
选项或手动下载安装)?
这将适用于Ubuntu 19.04和Ubuntu 16.04。
答案 0 :(得分:1)