2017-03-15 2 views
0

Kann mir jemand bei der Installation von Python-Paket "Prophet" auf Windows 10 helfen. Ich habe versucht, Python 3.5 und die Abhängigkeit 'plast' zu installieren, aber ich bekomme unten Fehler.Kann mir jemand bei der Installation von Python-Paket "Prophet" auf Windows 10 helfen

"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\"`

Antwort

0

Ich habe derzeit eine ziemlich Vanille-Installation von Python 3.5 auf meinem Windows 10-Rechner, die ich mit Anaconda eingerichtet habe.

Ich konnte Prophet mit dem folgenden Befehl installieren, der für Sie arbeiten könnte. Je nachdem, wie Sie Python installiert haben, müssen Sie möglicherweise den folgenden Befehl in einer cmd-Shell ausführen, die als Administrator geöffnet wurde.

pip install prophet 
+0

Danke für Ihre Antwort. Ich konnte mit 'pip install prophet' installieren, wie Sie sagten, aber das Modul wird nicht importiert, wenn es in jupyter importiert wird. pandas importieren als pd import numpy als np import Prophet ----------------------------------- ---------------------------------------- ImportError Traceback (letzter Anruf zuletzt) ​​ in () 1 import pandas als pd 2 import numpy als np ----> 3 import Prophet Import: No Modul namens Prophet – Sumanth

0

ich gut zwei Tage auf dieser Ausgabe ausgegeben, schließlich fand ich die folgende Lösung

1) Laden und installieren Sie es Anaconda 3 (für Python 3.6) 2) eine Umgebung erstellen und rufen Sie was auch immer Sie 3) ausführen, die Umgebung (die die Eingabeaufforderung geöffnet) 4) folgen Sie den folgenden Schritten in Eingabeaufforderung: (Befehle sind fett dargestellt)

python -m pip installieren -U pip Re forderung bereits up-to-date: pip in C: \ Benutzer \ william \ anaconda3 \ ENVs \ testtime \ lib \ site-packages

Conda installieren -c Conda-Schmiede pystan Fetching Paket Metadaten .... ........... Paketspezifikationen lösen:.

Paketplan für die Installation in Umgebung C: \ Benutzer \ William \ Anaconda3 \ ENVs \ Testtime:

Die folgenden NEUEN Pakete werden installiert:

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 installieren fbprophet

Verwandte Themen