Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLL load failed while importing flib: The specified module cannot be found. #118

Open
Shadow-Huang opened this issue Oct 12, 2024 · 1 comment

Comments

@Shadow-Huang
Copy link

Description

I used Python 3.8 on the Windows 10 system and encountered the following error when importing Pymc 2.3.8, Kabuki 0.6.5, and HDDM 1.0.1 simultaneously. It seems that the flib.py file is missing from the pymc library in this version. Has anyone encountered the same situation?

Error

ImportError Traceback (most recent call last)
Cell In[3], line 11
8 import seaborn as sns
10 # HDDM related packages
---> 11 import pymc as pm
12 import hddm
13 import kabuki

File d:\anaconda3\envs\hddm\lib\site-packages\pymc_init_.py:29
27 from .Container import *
28 from .PyMCObjects import *
---> 29 from .InstantiationDecorators import *
30 from .CommonDeterministics import *
31 from .NumpyDeterministics import *

File d:\anaconda3\envs\hddm\lib\site-packages\pymc\InstantiationDecorators.py:28
26 from .Container import Container
27 import numpy as np
---> 28 from .utils import get_signature
30 special_methods_available = [True]
33 def disable_special_methods(sma=special_methods_available):

File d:\anaconda3\envs\hddm\lib\site-packages\pymc\utils.py:14
12 from copy import copy
...
---> 14 from . import flib
15 import pdb
16 from numpy.linalg.linalg import LinAlgError

ImportError: DLL load failed while importing flib: The specified module cannot be found.

@hcp4715
Copy link
Contributor

hcp4715 commented Oct 12, 2024

you may try the docker version to avoid compatibility issues: https://osf.io/preprints/psyarxiv/6uzga/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants