Defaulting to user installation because normal site-packages is not writeable
Collecting astroscrappy
Using cached astroscrappy-1.0.8.tar.gz (449 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-hrypw0uc/astroscrappy_698d83c789de4fc7b154bdfcb64960cf/setup.py'"'"'; __file__='"'"'/tmp/pip-install-hrypw0uc/astroscrappy_698d83c789de4fc7b154bdfcb64960cf/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-viduca_0
cwd: /tmp/pip-install-hrypw0uc/astroscrappy_698d83c789de4fc7b154bdfcb64960cf/
Complete output (59 lines):
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-9kn9l6h7/astropy-helpers_442ddd241fae4a98990334bb16bffc92/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-9kn9l6h7/astropy-helpers_442ddd241fae4a98990334bb16bffc92/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9idh6644
cwd: /tmp/pip-wheel-9kn9l6h7/astropy-helpers_442ddd241fae4a98990334bb16bffc92/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
ERROR: Failed building wheel for astropy-helpers
ERROR: Failed to build one or more wheels
解决方法:
sudo apt-get install python3.6-dev
sudo apt-get install wheel