小编Som*_*ver的帖子

错误:包 'stomp.py' 需要不同的 Python:2.7.12 not in '>=3.6,<4.0'?

我正在尝试ElastAlert在我的 ubuntu 16.04上安装,每当我运行时,我都会遇到pip install elastalert错误。我目前正在运行 python 2.7.12。任何帮助,将不胜感激。我是新手,所以不确定我做错了什么。错误信息如下:-

    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
    Defaulting to user installation because normal site-packages is not writeable
    Collecting elastalert
      Using cached elastalert-0.2.4.tar.gz (128 kB)
    Requirement already satisfied: apscheduler>=3.3.0 …
Run Code Online (Sandbox Code Playgroud)

python 16.04

2
推荐指数
1
解决办法
1796
查看次数

标签 统计

16.04 ×1

python ×1