在Windows 10上安装Python

在Windows 10上安装Python,python,windows,anaconda,conda,facebook-prophet,Python,Windows,Anaconda,Conda,Facebook Prophet,在anaconda中安装fbprophet时,我的版本在windows 10上不断失败,并显示以下消息: ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::automat-0.7.0-py_1'. CondaError: Cannot link a source that does not exist. C:\Users\bharat.c.ruparel\Ap

在anaconda中安装fbprophet时,我的版本在windows 10上不断失败,并显示以下消息:

ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::automat-0.7.0-py_1'.
CondaError: Cannot link a source that does not exist. C:\Users\bharat.c.ruparel\AppData\Local\Continuum\anaconda3\Scripts\conda.exe
给出的命令是:

康达安装-c康达锻造

 pip install fbprophet

 or 

 conda install -c conda-forge fbprophet
是否有人在Windows 10上成功安装了fbprophet?如果是,请给出步骤

谢谢。 我也尝试了pip安装,但没有成功。我有一台Mac电脑,并成功地在上面安装了fbprophet,没有任何问题。

1)首先在Windows计算机中安装Anaconda或miniconda,并将conda python路径作为默认python添加到env变量中

2) 打开命令提示符并运行以下命令

创建conda虚拟环境(可选)

安装C++编译器>

conda install libpython m2w64-toolchain -c msys2
libpython将在PYTHONPATH\Lib\distutils中自动为您创建并设置distutils.cfg文件,但如果失败,请按照以下说明手动设置

使用文本编辑器(例如记事本、记事本++)创建distutils.cfg,并将以下行添加到该文件中

 [build]
 compiler=mingw32
安装依赖项

 conda install numpy cython -c conda-forge

 conda install matplotlib scipy pandas -c conda-forge
安装PyStan

 pip install pystan

 or 

 conda install pystan -c conda-forge
安装fbprophet

 pip install fbprophet

 or 

 conda install -c conda-forge fbprophet

我也有同样的问题。但在我遵循以下步骤后,它会起作用:

在提示install Ephem时:

conda安装-c anaconda ephem

安装Pystan:

conda安装-c conda forge pystan

最后安装Fbprophet


conda安装-c conda forge fbprophet

我面临同样的问题,我的解决方案是:-

使用Python3.5创建新环境

conda create -n pht python=3.5 anaconda
使用命令安装Prophet

conda install -c conda-forge fbprophet

我没有安装“gcc”,尽管在安装Prophet之前,有人建议我这样做。

我还面临在windows 10中安装facebook Prophet而不使用conda的问题。 但是,我们可以解决它。 首先,卸载任何pystan,fbprophet。 然后按照以下步骤操作

python.exe -m pip install pystan==2.17.1.0
python.exe -m pip install fbprophet==0.6   
python.exe -m pip install --upgrade fbprophet
谢谢,
tsj

访问您作为管理员使用的环境的Anaconda提示符

conda install -c conda-forge fbprophet -y
我刚刚在这里试过(在Windows1064位上),效果很好


这里是使用蟒蛇

使用
conda install gcc
设置gcc。最简单的安装方法 Prophet是通过conda forge实现的:
conda安装-c conda forge fbprophet


安装时不使用
Conda、Win 10、Python 3.8.8 64位

pip3 install Cython
然后:

重新启动你的机器

安装

pip3 install pystan==2.17.1.0

pip3 install fbprophet

我几乎不发表意见,但这解决了我的问题。谢谢你和+1。