The error that I am getting is:
cannot import name 'statfunc' from 'pymc3.stats' (/anaconda3/lib/python3.7/site-packages/pymc3/stats/__init__.py)
I've installed using pip and conda, and am running Jupyter through Anaconda Navigator.
I am using Mojave 10.14, Python 3.7.
How do I fix this?
Related
i am new to python, and have installed python version
Python 3.7.3
pip --version
pip 19.1.1 from C:\ProgramData\Anaconda3\lib\site-packages\pip (python 3.7)
the following are my environment variables
pip 19.1.1 from C:\ProgramData\Anaconda3\lib\site-packages\pip
(python 3.7)
C:\Users\lijin\AppData\Local\Programs\Python\Python37-32\
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
i have installed matplotlib successfully using the command
pip install matplotlib
now, while importing matplotlib in the spyder, i am getting an error
ModuleNotFoundError: No module named 'matplotlib.py'
what am i missing here?
I installed Anaconda 1.9.7, the Python version is 3.7.3. Then used
conda install -c ibmdecisionoptimization cplex
and
pip install cplex
However, I face this error:
No module named 'docplex'.
There is nothing on the net for solving this error of integrating CPLEX and Anaconda Python for Mac and Anaconda.
The problem was that docplex wants to install docloud and that there was no python 3.7 distribution for docloud. This is now fixed. See https://github.com/IBMDecisionOptimization/docplex-examples/issues/18
I'm using Python 3.6 v in Ubuntu 18.04LTS. I installed numpy package using pip. When i used Python 3.6 interpreter it throws
ModuleNotFoundError: No module named 'numpy' and for Python2.7
interpreter it didn't throws any error. Any suggestions will be very helpful. I searched in google and github nothing helped me.
Based on the outputs you posted -
your pip and python are pointing to version 2.7
if you try pip install numpy you will install into your python 2.7 env
if you start python interpreter by default you'll be starting python2.7 and you should be able to find numpy package installed.
if you want to do the same in python3.xx use python3 , pip3 or use
virtual environments
I am running into some issues with packages I can access in anaconda prompt vs what is available in Jupyter Notebook.
I recently created an environment for python 3.6. I installed a few packages, including pandas, using:
conda install pandas
And all is well:
When I check conda list, I also see pandas installed for py36.
conda list
Now, I run the following line to start my jupyter notebook from this same location:
jupyter notebook
I then run into an error when I try to import pandas. I then try to install pandas with no luck.
My guess is this stems from having downloaded anaconda for python 2.7, but I assume there is a way to get things working in both versions of python for jupyter notebook.
To add, I am able to use pandas when I use python 2.7 (referred to as "root"):
activate root
jupyter notebook
Any help would be greatly appreciated!
Hallo I am using spyder 3.1.2. I successfully installed python-igraph 0.7.1.post36 ad python-igraph via anaconda prompt but spyder cannot import it and gives the message:
ModuleNotFoundError: No module named 'igraph'
and when I try to install pycairo‑1.10.0‑cp36‑cp36m‑win_amd64.whl it says it is not supported on that platform.
I am using windows 10.
Thank you so much for any help
tiziana