运行pip install superset==0.28.1
安装时报
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting superset==0.28.1
Downloading http://mirrors.aliyun.com/pypi/packages/da/48/583551048b9e045eed47dbd93c3210fa1e02193e4fad226033a19754525c/superset-0.28.1.tar.gz (52.7 MB)
|████████████████████████████████| 52.7 MB 4.6 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-RL2F0d/superset/setup.py'"'"'; __file__='"'"'/tmp/pip-install-RL2F0d/superset/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-pip-egg-info-ZPNMfv
cwd: /tmp/pip-install-RL2F0d/superset/
Complete output (1 lines):
Sorry, Python < 3.6 is not supported
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
报错提示你 Sorry, Python < 3.6 is not supported
所以更新一下python环境,装3.7
怎么升级