python interpreter _py3dna import error #56

Closed
opened 2024-07-23 17:27:33 +08:00 by cysoo23 · 1 comment
cysoo23 commented 2024-07-23 17:27:33 +08:00 (Migrated from github.com)

When attempting to run dna_demo.py from the Python interpreter, I included the environment setup code block at the beginning of the script. Unfortunately, I encountered an "ImportError: DLL load failed while importing _py3dna:" error message. How can I solve this?

When attempting to run dna_demo.py from the Python interpreter, I included the environment setup code block at the beginning of the script. Unfortunately, I encountered an "ImportError: DLL load failed while importing _py3dna:" error message. How can I solve this?
n0phx commented 2024-08-18 05:59:33 +08:00 (Migrated from github.com)

This could be due to the restrictions introduced in Python 3.8 and upwards, which require the usage of os.add_dll_directory . With the latest release of MetaHuman-DNA-Calibration, we have added some fallback paths which will automatically invoke add_dll_directory with the paths present on PATH, making it compatible with the earlier behavior. Please try again with the latest release.

This could be due to the restrictions introduced in Python 3.8 and upwards, which require the usage of `os.add_dll_directory` . With the latest release of MetaHuman-DNA-Calibration, we have added some fallback paths which will automatically invoke add_dll_directory with the paths present on `PATH`, making it compatible with the earlier behavior. Please try again with the latest release.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: CGNICO/Metahuman_DNA_Calibration#56
No description provided.