import hssm error #332
-
I ran into this error when I tried to import hssm. I have also tried installing hssm in a virtual environment with "pip install hssm --no-cache-dir", and still ran into the same error. Would appreciate your help. NoSectionError Traceback (most recent call last) File ~\miniconda3\Lib\configparser.py:797, in RawConfigParser.get(self, section, option, raw, vars, fallback) File ~\miniconda3\Lib\configparser.py:1168, in RawConfigParser._unify_values(self, section, vars) NoSectionError: No section: 'blas' During handling of the above exception, another exception occurred: KeyError Traceback (most recent call last) File ~\miniconda3\Lib\site-packages\pytensor\configparser.py:205, in PyTensorConfigParser.fetch_val_for_key(self, key, delete_key) KeyError: 'blas__ldflags' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) File ~\miniconda3\Lib\site-packages\hssm_init_.py:7 File ~\miniconda3\Lib\site-packages\hssm\config.py:10 File ~\miniconda3\Lib\site-packages\hssm\defaults.py:5 File ~\miniconda3\Lib\site-packages\bambi_init_.py:3 File ~\miniconda3\Lib\site-packages\pymc_init_.py:47 File ~\miniconda3\Lib\site-packages\pymc_init_.py:30, in __set_compiler_flags() File ~\miniconda3\Lib\site-packages\pytensor_init_.py:119 File ~\miniconda3\Lib\site-packages\pytensor\tensor_init_.py:106 File ~\miniconda3\Lib\site-packages\pytensor\tensor\blas.py:102 File ~\miniconda3\Lib\site-packages\pytensor\tensor\blas_headers.py:1015 File ~\miniconda3\Lib\site-packages\pytensor\configparser.py:321, in ConfigParam.get(self, cls, type_, delete_key) File ~\miniconda3\Lib\site-packages\pytensor\link\c\cmodule.py:2720, in default_blas_ldflags() AttributeError: module 'numpy.config' has no attribute 'get_info' |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Recent updates to Try downgrading |
Beta Was this translation helpful? Give feedback.
Recent updates to
numpy
have wrecked a bit of havoc in the package ecosystem.We are finalizing the next version of
HSSM
, which should help overcoming these issues.Try downgrading
pytensor <2.17.4
andnumpy to <1.26
.