python interpreter _py3dna import error #56
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: CGNICO/Metahuman_DNA_Calibration#56
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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 onPATH
, making it compatible with the earlier behavior. Please try again with the latest release.