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

Import failed, DLL load failed: The specified module could not be found. #17

Open
fj11 opened this issue Jan 26, 2019 · 1 comment
Open

Comments

@fj11
Copy link

fj11 commented Jan 26, 2019

When import pysqlcipher3, it failed because of DLL load failed.

Python version 3.7.1

Pyd file is at: C:\Python37\Lib\site-packages\pysqlcipher3-1.0.2-py3.7-win32.egg\pysqlcipher3_sqlite3.cp37-win32.pyd

Traceback (most recent call last):
File "C:/Python37/Lib/site-packages/pysqlcipher3-1.0.2-py3.7-win32.egg/pysqlcipher3/_sqlite3.py", line 9, in
bootstrap()
File "C:/Python37/Lib/site-packages/pysqlcipher3-1.0.2-py3.7-win32.egg/pysqlcipher3/_sqlite3.py", line 8, in bootstrap
imp.load_dynamic(name,file)
File "C:\Python37\lib\imp.py", line 342, in load_dynamic
return _load(spec)
File "", line 696, in _load
File "", line 670, in _load_unlocked
File "", line 583, in module_from_spec
File "", line 1043, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

@ghost
Copy link

ghost commented Mar 6, 2019

Hello there! i have the similar error output:
from pysqlcipher3._sqlite3 import *
ImportError: DLL load failed: The specified module could not be found.

i inspect the _sqlite3.pyd and it seems missing libeay32.dll and msvcr90.dll but providing these libraries inside system32 does not solve the problem.

i built pysqlcipher3 against system libsqlcipher and the built was fine.
i am in a conda environment tested both on py3.7 and py3.6 as well.

thanks in advance.

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

1 participant