Okay - using python 3.10.4 + pymc3 led to one error:
File "/home/adrian/Desktop/testintegrate.py", line 8, in <module> class Integrate(theano.Op): AttributeError: module 'theano' has no attribute 'Op'. Did you mean: 'p'?
and 3.10.4 + pymc4 led to a different error:
` File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/configparser.py”, line 238, in fetch_val_for_key
return self._theano_cfg.get(section, option)
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/configparser.py”, line 782, in get
d = self._unify_values(section, vars)
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/configparser.py”, line 1153, in _unify_values
raise NoSectionError(section) from None
configparser.NoSectionError: No section: ‘blas’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/configparser.py”, line 354, in get
val_str = cls.fetch_val_for_key(self.name, delete_key=delete_key)
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/configparser.py”, line 242, in fetch_val_for_key
raise KeyError(key)
KeyError: ‘blas__ldflags’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/adrian/Desktop/testintegrate.py”, line 2, in
import theano
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/init.py”, line 83, in
from theano import scalar, tensor
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/init.py”, line 20, in
from theano.tensor import nnet # used for softmax, sigmoid, etc.
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/nnet/init.py”, line 3, in
from . import opt
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/nnet/opt.py”, line 32, in
from theano.tensor.nnet.conv import ConvOp, conv2d
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/nnet/conv.py”, line 20, in
from theano.tensor import blas
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/blas.py”, line 163, in
from theano.tensor.blas_headers import blas_header_text, blas_header_version
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/tensor/blas_headers.py”, line 1016, in
if not config.blas__ldflags:
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/configparser.py”, line 358, in get
val_str = self.default()
File “/home/adrian/anaconda3/envs/fresh_env/lib/python3.10/site-packages/theano/link/c/cmodule.py”, line 2621, in default_blas_ldflags
blas_info = numpy.distutils.config.blas_opt_info
AttributeError: module ‘numpy.distutils.config’ has no attribute ‘blas_opt_info’
`
I am trying to run the integration script here on a simple polynomial integral.