fbprophet安装

终于安装好了,怎么说呢,过程其实很简单,但是被python的版本折磨了。我用python3.6安装时,一切都准备好了,fbprophet导入也没问题。但是在建模时就会报错:AttributeError: 'Prophet' object has no attribute 'stan_backend',所以尝试了python3.5,当然3.5可能是个比较老的版本了,

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.

但是安装过程非常顺利。网上的说缺少安装vc、vs的,其实在装pystan,就自动装好了。


Anaconda创建、激活、退出、删除虚拟环境

1.创建环境:conda create --name fbprophet python=3.5

2.激活环境:activate fbprophet

3.安装需要的包:conda install -c conda-forge pystan

4.安装fbprophet:conda install -c conda-forge fbprophet

5.在jupyter notebook中使用新环境fbprophet:在jupyter notebook界面中切换anaconda环境

 

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值