蔡哥科技 2022-02-19 08:07 采纳率: 33.3%
浏览 21

Linux系统安装Superset报错

运行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.



img

  • 写回答

2条回答 默认 最新

  • IT民工金鱼哥 新星创作者: 运维技术领域 2022-02-19 10:19
    关注

    报错提示你 Sorry, Python < 3.6 is not supported
    所以更新一下python环境,装3.7

    评论

报告相同问题?

问题事件

  • 修改了问题 2月19日
  • 修改了问题 2月19日
  • 修改了问题 2月19日
  • 创建了问题 2月19日