我使用Anaconda Environment在Ubuntu上安装了WARNING: The directory '/home/talitha/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/home/talitha/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pyradar
Downloading https://files.pythonhosted.org/packages/d6/bf/27092a94d808843b95ffcee54417c52e5e07a89a53386ee2ca3b5afbc8ca/pyradar-0.2.tar.gz (7.2MB)
|████████████████████████████████| 7.2MB 538kB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zxhijtkh/pyradar/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zxhijtkh/pyradar/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-zxhijtkh/pyradar/pip-egg-info
cwd: /tmp/pip-install-zxhijtkh/pyradar/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-zxhijtkh/pyradar/setup.py", line 85
print "\n{}\n{}\n{}\n{}\n".format(msg, limits,
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
,
但是我遇到了这个错误
{{1}}
有人可以帮助我吗? 谢谢!