Closed amruutharao closed 5 years ago
@dghete ,@Gordonei , @bletham, @ivonnics , @seanjtaylor
I'm guessing that the notebook is not using the Anaconda python (but perhaps is using system python). You can check in the notebook what python is being used:
import sys
print(sys.executable)
I have checked the path it is pointing to using above command and i could understand that the path it is pointing to is C:\Users****\AppData\Local\Continuum\anaconda3\python.exe.
Not sure if i need to re configure my jupyter notebook to point to conda environment since i use tabpy server and it was affected due to an unstable package ( tornado ).
I don't actually use conda myself and so cannot be of much help in figuring out issues related to conda environments.
I would recommend @amruutharao to reinstall Anaconda and then, install fbprophet in a separate environment: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
I have re installed the anaconda environment .
I am not sure why this is not stable and which package has to be upgraded or downgraded for this. Is there any earlier version for fbprophet which is stable ?
You definitely want to use conda forge to install it in conda. Maybe try
conda update conda
first?
I have tried that i ran the command "conda install -c conda-forge fbprophet"
UnsatisfiableError: The following specifications were found to be in conflict:
what does the conda info show as the dependencies for fbprophet? nothing listed there seems like it should be an issue.
Follow instructions here. You need to follow the section where it says:
'Using virtualenv or conda envs, you can make your IPython kernel in one env available to Jupyter in a different env. To do so, run ipykernel install from the kernel’s env, with –prefix pointing to the Jupyter env:'
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
Thank You @luanaformiga running this command also install ephem and psystan $conda install -c conda-forge fbprophet
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
Thank you SO very much, lunaformiga
WARNING:pystan:MSVC compiler is not supported
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
@JamieL22 i got the same error
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
It works like a charm. You saved me!
Tried again with your lead bhaskoro-muthohar. Using the Packages (PyPi) Visual Studio 2017,
Tools | Python Tools | Python environment.
Version 3.6 from VS has all three commands:
Install ephem 3.7.7.1 (succeeds) Installl pystan 2.19.1.1 (succeeds) install fbprophet 0.6 failed
I see there is also a version covid-19-prophet
This too fails.
But if switching to another project, same version (3.6), same command succeeds.
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
thanks, finally after 2 days
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
THANK YOU SO MUCH! @luanaformiga finally solved my problem!
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
This worked great for me! Just be aware that it won't work with pyhon 3.9 <=. I had to downgrade to python 3.7.
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
Yes this process helps. Thank You.
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
Thanks a lot @luanaformiga
I've had the same problem. But it works after I follow this steps:
On Prompt install Ephem: conda install -c anaconda ephem
Install Pystan: conda install -c conda-forge pystan
Finally install Fbprophet conda install -c conda-forge fbprophet
I am using streamlit where I am using fbprophet. After doing all this steps too I am seeing ModuleNotFoundError
Create a virtual environment using
conda create --name myenv
Activate the environment using conda activate myenv
Install ephem using conda install -c anaconda ephem
Install pystan using conda install -c conda-forge pystan
Install the fbrprophet using conda install -c conda-forge fbprophet
At the end install holidays pip install holidays==0.9.12
If it still doesn't work try this at last conda install psycopg2
I have installed the package fbprophet using the following command conda install -c conda-forge fbprophet . I have checked the list of packages installed and it shows that fbprophet is successfully installed.
In my jupyter notebook, when i am trying to import prophet i get an error as follow. "ModuleNotFoundError: No module named 'fbprophet'" .
I tried using pip install fbprophet but it does not work because of issues in pystan. If someone knows how to install fbprophet command and import prophet , please reply .
I use the following configuration. Python : 2.7.15 anaconda2