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