在Google Cloud Platform AI平台上安装fbprophet时出错

问题描述

我正在尝试在AI平台的Jupyter Notebook中安装Facebook先知

!pip3 install fbprophet

我收到此错误:

DEPRECATION: Python 3.5 reached the end of its life on September 13th,2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting fbprophet
  Using cached fbprophet-0.7.1.tar.gz (64 kB)
Requirement already satisfied: Cython>=0.22 in /home/jupyter/.local/lib/python3.5/site-packages (from fbprophet) (0.29.21)
Collecting cmdstanpy==0.9.5
  Using cached cmdstanpy-0.9.5-py3-none-any.whl (37 kB)
Requirement already satisfied: pystan>=2.14 in /home/jupyter/.local/lib/python3.5/site-packages (from fbprophet) (2.19.1.1)
Requirement already satisfied: numpy>=1.15.4 in /home/jupyter/.local/lib/python3.5/site-packages (from fbprophet) (1.18.5)
ERROR: Could not find a version that satisfies the requirement pandas>=1.0.4 (from fbprophet) (from versions: 0.1,0.2b0,0.2b1,0.2,0.3.0b0,0.3.0b2,0.3.0,0.4.0,0.4.1,0.4.2,0.4.3,0.5.0,0.6.0,0.6.1,0.7.0rc1,0.7.0,0.7.1,0.7.2,0.7.3,0.8.0rc1,0.8.0rc2,0.8.0,0.8.1,0.9.0,0.9.1,0.10.0,0.10.1,0.11.0,0.12.0,0.13.0,0.13.1,0.14.0,0.14.1,0.15.0,0.15.1,0.15.2,0.16.0,0.16.1,0.16.2,0.17.0,0.17.1,0.18.0,0.18.1,0.19.0rc1,0.19.0,0.19.1,0.19.2,0.20.0rc1,0.20.0,0.20.1,0.20.2,0.20.3,0.21.0rc1,0.21.0,0.21.1,0.22.0,0.23.0rc2,0.23.0,0.23.1,0.23.2,0.23.3,0.23.4,0.24.0rc1,0.24.0,0.24.1,0.24.2,0.25.0rc0,0.25.0,0.25.1,0.25.2,0.25.3)
ERROR: No matching distribution found for pandas>=1.0.4 (from fbprophet)

它说我的熊猫不是> = 1.0.4 当我尝试升级我的熊猫时,最新版本为'0.25.3'。可能与python 3.5的弃用警告有关

之前我已经研究过尝试在AI平台上升级Python,而且过程似乎很复杂。有谁知道解决方法?谢谢

解决方法

您可以启动一个具有Python 3.7的新实例,然后安装fbprophet

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...