PyStan已通过PIP成功安装,但是我在IMPORT上存在错误

时间:2019-09-11 14:26:56

标签: python python-3.x pip data-science pystan

尝试导入pystan时获取ImportError: DLL load failed: The specified module could not be found.

从多个资源安装并卸载pystan后,我可以轻松完成pip install,但不能将其导入Jupyter笔记本中。

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.

0 个答案:

没有答案
相关问题