Importing pymc3
in my jupyter notebook causes the following error:
ImportError: cannot import name 'logsumexp'"
Here are some other package versions:
Trying other pymc3 didn't solved the problem
I did manage to import logsumxp
this way:
from pymc3.special import logsumexp
But when I import Normal
the same way, I get this error:
AttributeError: module 'xarray.core' has no attribute 'formatting_html'
Did you install it already? For example with "pip install pymc3" ( https://docs.pymc.io/ )?
For me, the imports don't work when using the pymc3.special module because it says, it does not exist.
Try " from pymc3 import Normal "
If you can't find a solution for your local jupyter notebook, you could alternatively simply use Google Collab to create and use your notebook there: https://colab.research.google.com/ .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.