编程语言
首页 > 编程语言> > 时间序列算法fbprophet安装-Mac

时间序列算法fbprophet安装-Mac

作者:互联网

Mac安装fbprophet

1-Anaconda镜像设置

vim ~/.condarc

修改文件内容

channels:
  - defaults
show_channel_urls: true
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

2-安装MingW-w64编译器类型:

conda install libpython m2w64-toolchain -c msys2
conda install numpy cython -c conda-forge
conda install matplotlib scipy pandas -c conda-forge
conda install pystan -c conda-forge
conda install fbprophet -c conda-forge

3-调用fbprophet

from fbprophet import Prophet

标签:cn,mirrors,fbprophet,算法,Mac,conda,tsinghua,https,edu
来源: https://blog.csdn.net/weixin_42347070/article/details/118942089