No module named 'dna' #59
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#59
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?
Dear smilicev
marijavik,
Hello! I encountered an issue while using the code you provided, and I hope to get your assistance.
When attempting to run the following code:
This example demonstrates Maya UI Window for simple and non-programmatic creation the scene with the creating functional rig.
IMPORTANT: You have to setup the environment before running this example. Please refer to the 'Environment setup' section in README.md.
NOTE: Script cannot be called with Python or mayapy, it must be called in Maya Script Editor.
Expected: Maya will show UI.
"""
This example is intended to be used in Maya
import dna_viewer
dna_viewer.show()
I received the following error message:
错误: ModuleNotFoundError: file C:\dna_calibration\dna_viewer\dnalib\dnalib.py line 3: No module named 'dna'
After checking, I found that dna is not a folder but a missing module file. Here are the steps I have tried:
Confirmed the project structure and ensured that all dependencies are in the specified paths.
Attempted to add the path containing the dna module to sys.path, but the issue persists.
I would appreciate any guidance or suggestions you could provide so that I can use the code successfully. Thank you for your hard work!
Looking forward to your response!
Hello @Khalil-Chiao,
It looks that dna lib is not on the path. Check the following code and replace the paths: