windows下pycharm配置prophet环境

通过pip来安装prophet,会因为httpstan的版本问题报错,无法安装,所以改成用conda安装

一、新建项目的时候选择基于conda的方式

 

 二、在下方terminal里依次输入一下命令

#修改源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
 
conda config --set show_channel_urls yes

#安装依赖
conda install libpython m2w64-toolchain -c msys2

conda install pystan -c conda-forge

conda install -c conda-forge fbprophet

 

posted on 2022-05-19 17:34  该用户很懒  阅读(462)  评论(0编辑  收藏  举报