【发布时间】:2021-03-28 09:55:20
【问题描述】:
我一直在尝试通过
安装先知pip install pystan
pip install prophet
但我不断收到错误。然后,我尝试使用 conda 安装先知:
conda install -c conda-forge prophet
但我不断收到错误,例如,
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- prophet
Current channels:
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
我能做些什么来解决这个问题?
【问题讨论】:
-
您没有提供错误信息。 我不断收到错误并没有告诉我们出了什么问题,所以我们无法建议如何解决它。所以我不得不猜测。如果您尝试在 Windows 机器上安装
pystan,则其中一条错误消息将问题报告为:WARNING:pystan:MSVC compiler is not supported.pystan文档确认了这一点,表示它不能在 Windows 上运行。
标签: python conda facebook-prophet