Skip to content

Module library Error. #507

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

Open
sou200 opened this issue Feb 20, 2025 · 2 comments
Open

Module library Error. #507

sou200 opened this issue Feb 20, 2025 · 2 comments

Comments

@sou200
Copy link

sou200 commented Feb 20, 2025

every time I want to import symengine on my code it gives me this error.
ImportError: DLL load failed while importing symengine_wrapper: The specified module could not be found.

@rikardn
Copy link
Contributor

rikardn commented Feb 20, 2025

I have had this problem myself. If I remember correctly it was when using an old version of symengine together with a new version of Python. Could you try a newer version of symengine?

@sou200
Copy link
Author

sou200 commented Feb 20, 2025

I upgraded python and symengine but still the same error !!
symengine 0.14.0
Python 3.13.2

This is the full error:
Traceback (most recent call last): File "C:\Users\PC DELL\Desktop\quantum\program.py", line 3, in <module> import symengine File "C:\Users\PC DELL\Desktop\quantum\qiskit_env\Lib\site-packages\symengine\__init__.py", line 12, in <module> import symengine.lib.symengine_wrapper as wrapper ImportError: DLL load failed while importing symengine_wrapper: The specified module could not be found.

in program.py I'am just importing symengine.

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