You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have questions about a specific use case, or you are not sure whether this is a bug or not, please post it to our discourse channel: https://discourse.pymc.io
Import pymc3 fails on windows and anaconda with TypeError numpy.float128 datatype not recognised
Python 3.8.2 numpy 1.18.4
importpymc3
Error log:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-75554ce6e5eb> in <module>
2 import matplotlib.pyplot as plt
3 import numpy as np
----> 4 import pymc3 as pm
5 import scipy.stats as stats
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\__init__.py in <module>
49
50 from .blocking import *
---> 51 from .distributions import *
52 from .distributions import transforms
53 from .glm import *
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\distributions\__init__.py in <module>
13 # limitations under the License.
14
---> 15 from . import timeseries
16 from . import transforms
17 from . import shape_utils
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\distributions\timeseries.py in <module>
20
21 from pymc3.util import get_variable_name
---> 22 from .continuous import get_tau_sigma, Normal, Flat
23 from .shape_utils import to_tuple
24 from . import multivariate
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\distributions\continuous.py in <module>
30 from .special import log_i0
31 from ..math import invlogit, logit, logdiffexp
---> 32 from .dist_math import (
33 alltrue_elemwise, betaln, bound, gammaln, i0e, incomplete_beta, logpow,
34 normal_lccdf, normal_lcdf, SplineWrapper, std_cdf, zvalue,
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\distributions\dist_math.py in <module>
35 f = floatX
36 c = - .5 * np.log(2. * np.pi)
---> 37 _beta_clip_values = {
38 dtype: (np.nextafter(0, 1, dtype=dtype), np.nextafter(1, 0, dtype=dtype))
39 for dtype in ["float16", "float32", "float64", "float128"]
~\Miniconda3\envs\stat-rethink2-pymc3\lib\site-packages\pymc3\distributions\dist_math.py in <dictcomp>(.0)
36 c = - .5 * np.log(2. * np.pi)
37 _beta_clip_values = {
---> 38 dtype: (np.nextafter(0, 1, dtype=dtype), np.nextafter(1, 0, dtype=dtype))
39 for dtype in ["float16", "float32", "float64", "float128"]
40 }
TypeError: data type "float128" not understood
Please provide any additional information below.
Versions and main components
PyMC3 Version: 3.8
Theano Version:1.0.4
Python Version:3.8.2
Operating system: windows 10
How did you install PyMC3: (conda/pip) conda
The text was updated successfully, but these errors were encountered:
If you have questions about a specific use case, or you are not sure whether this is a bug or not, please post it to our discourse channel: https://discourse.pymc.io
Import pymc3 fails on windows and anaconda with TypeError
numpy.float128
datatype not recognisedPython 3.8.2 numpy 1.18.4
Error log:
Please provide any additional information below.
Versions and main components
The text was updated successfully, but these errors were encountered: