gpt4 book ai didi

python-3.5 - 有人可以帮我在 Windows 10 上安装 python 包 "Prophet"

转载 作者:行者123 更新时间:2023-12-02 03:58:39 27 4
gpt4 key购买 nike

有人可以帮我在 Windows 10 上安装 python 包“Prophet”吗?我尝试安装 python 3.5 和依赖项“pystan”,但出现以下错误。

"The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted.This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup script by hand.Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available. Command "python setup.py egg_info" failed with error code 1 in c:\users\suman\appdata\local\temp\pip-build-aqoiqs\fbprophet\"`

最佳答案

这个问题我花了两天时间,终于找到了解决办法

1) 下载并安装 Anaconda 3(适用于 python 3.6)2)创建一个环境并随意命名3)运行该环境(这将打开命令提示符)4)在命令提示符下执行以下步骤:(命令以粗体显示)

python -m pip install -U pip要求已是最新的: c:\users\william\anaconda3\envs\testtime\lib\site-packages 中的 pip

conda install -c conda-forge pystan正在获取包元数据............解决封装规范: .

在环境 C:\Users\William\Anaconda3\envs\Testtime 中安装的软件包计划:

将安装以下新软件包:

backports:                     1.0-py36_1            conda-forge
backports.functools_lru_cache: 1.4-py36_1 conda-forge
ca-certificates: 2017.11.5-0 conda-forge
cycler: 0.10.0-py36_0 conda-forge
cython: 0.27.3-py36_0 conda-forge
freetype: 2.7-vc14_1 conda-forge [vc14]
icc_rt: 2017.0.4-h97af966_0
icu: 58.2-vc14_0 conda-forge [vc14]
intel-openmp: 2018.0.0-hd92c6cd_8
jpeg: 9b-vc14_2 conda-forge [vc14]
libpng: 1.6.34-vc14_0 conda-forge [vc14]
matplotlib: 2.1.0-py36_0 conda-forge
mkl: 2018.0.1-h2108138_4
numpy: 1.13.3-py36ha320f96_0
openssl: 1.0.2m-vc14_0 conda-forge [vc14]
pyparsing: 2.2.0-py36_0 conda-forge
pyqt: 5.6.0-py36_4 conda-forge
pystan: 2.17.0.0-py36_vc14_0 conda-forge [vc14]
python-dateutil: 2.6.1-py36_0 conda-forge
pytz: 2017.3-py_2 conda-forge
qt: 5.6.2-vc14_1 conda-forge [vc14]
sip: 4.18-py36_1 conda-forge
six: 1.11.0-py36_1 conda-forge
tornado: 4.5.2-py36_0 conda-forge
zlib: 1.2.11-vc14_0 conda-forge [vc14]

pip 安装 fbprophet

关于python-3.5 - 有人可以帮我在 Windows 10 上安装 python 包 "Prophet",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42822902/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com