背景: 先安装了miniconda,新建环境py39,安装了pandas、plotly、numpy、pystan等。
1. 使用pip安装 fbprophet, pip install fbprophet,报错一长串;
2. 使用conda安装 fbprophet,conda install fbprophet,报错如下:
PackagesNotFoundError: The following packages are not available from current channels:
- fbprophet
3. 用conda install -c conda-forge install fbprophet, 报错如下:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
4.搜索其他人的敬仰,发现python版本是3.9,与fbprophet不兼容。在Anaconda Prompt中创建python3.7