ImportError: DLL load failed: The specified module could not be found.
尝试导入 pystan 时获取。
从多个资源安装和卸载 pystan 后,我可以轻松完成pip install
,但无法在 Jupyter notebook 中导入它。
import pystan
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-51-ca8618bb8e4a> in <module>
----> 1 import pystan
c:\program files\python37\lib\site-packages\pystan\__init__.py in <module>
7 import logging
8
----> 9 from pystan.api import stanc, stan
10 from pystan.misc import read_rdump, stan_rdump, stansummary
11 from pystan.diagnostics import check_hmc_diagnostics
c:\program files\python37\lib\site-packages\pystan\api.py in <module>
11 import os
12
---> 13 import pystan._api # stanc wrapper
14 from pystan._compat import string_types, PY2
15 from pystan.model import StanModel
ImportError: DLL load failed: The specified module could not be found.