I have seen it reported that this issue has been fixed, but on a new download using miniforge I get this error, with code that worked unchanged from a month ago.
Last login: Sun Apr 10 17:28:02 on ttys001
(base) me@MacStudio ~ % conda list pymc3
packages in environment at /opt/homebrew/Caskroom/miniforge/base:
Name Version Build Channel
pymc3 3.9.3 pyhd8ed1ab_3 conda-forge
(base) bryanpalmer@BryansMacStudio ~ % ipython
Python 3.9.12 | packaged by conda-forge | (main, Mar 24 2022, 23:24:38)
Type âcopyrightâ, âcreditsâ or âlicenseâ for more information
IPython 8.2.0 â An enhanced Interactive Python. Type â?â for help.
In [ 1 ]: import numpy as np
In [ 2 ]: np.version
Out[ 2 ]: â1.22.3â
In [ 3 ]: import pymc3 as pm
WARNING (theano.configdefaults): install mkl with
conda install mkl-service
: No module named âmklâ
TypeError Traceback (most recent call last)
Input In [3], in <cell line: 1>()
----> 1 import pymc3 as pm
File /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/pymc3/init.py:41, in
38 __set_compiler_flags()
40 from .blocking import *
â> 41 from .distributions import *
42 from .distributions import transforms
43 from .glm import *
File /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/pymc3/distributions/init.py:15, in
1 # Copyright 2020 The PyMC Developers
2 #
3 # Licensed under the Apache License, Version 2.0 (the âLicenseâ);
(âŚ)
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
â> 15 from . import timeseries
16 from . import transforms
17 from . import shape_utils
File /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/pymc3/distributions/timeseries.py:23, in
20 import numpy as np
22 from pymc3.util import get_variable_name
â> 23 from .continuous import get_tau_sigma, Normal, Flat
24 from .shape_utils import to_tuple
25 from . import multivariate
File /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/pymc3/distributions/continuous.py:32, in
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,
35 clipped_beta_rvs,
36 )
37 from .distribution import (Continuous, draw_values, generate_samples)
39 all = [âUniformâ, âFlatâ, âHalfFlatâ, âNormalâ, âTruncatedNormalâ, âBetaâ,
40 âKumaraswamyâ, âExponentialâ, âLaplaceâ, âStudentTâ, âCauchyâ,
41 âHalfCauchyâ, âGammaâ, âWeibullâ, âHalfStudentTâ, âLognormalâ,
42 âChiSquaredâ, âHalfNormalâ, âWaldâ, âParetoâ, âInverseGammaâ,
43 âExGaussianâ, âVonMisesâ, âSkewNormalâ, âTriangularâ, âGumbelâ,
44 âLogisticâ, âLogitNormalâ, âInterpolatedâ, âRiceâ, âMoyalâ]
File /opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/pymc3/distributions/dist_math.py:44, in
38 _beta_clip_values = {
39 dtype: (np.nextafter(0, 1, dtype=dtype), np.nextafter(1, 0, dtype=dtype))
40 for dtype in [âfloat16â, âfloat32â, âfloat64â]
41 }
42 if platform.system() in [âLinuxâ, âDarwinâ]:
43 _beta_clip_values[âfloat128â] = (
â> 44 np.nextafter(0, 1, dtype=âfloat128â),
45 np.nextafter(1, 0, dtype=âfloat128â)
46 )
50 def bound(logp, *conditions, **kwargs):
51 ââ"
52 Bounds a log probability density with several conditions.
53
(âŚ)
67 logp with elements set to -inf where any condition is False
68 ââ"
TypeError: data type âfloat128â not understood
In [ 4 ]: