I'm not sure if I've done something wrong, but I compiled libpandadna successfully for Python 3.8, but I still cannot import the .pyd file! I have it in my current directory and whenever I try:
from panda3d.core import *
import libpandadna
I always receive the same error.
ImportError: DLL load failed while importing libpandadna: The specified module could not be found.
Is there something special I have to do? Or is this just not working on Python 3 still?
I need to compile my .dna files for the Python PDNA loader I'm using, and I have one stubborn .dna file that converts but it fails to read past the check that looks for if it was compressed or not.. So was going to instead use libpandadna since it's a tad cleaner, however, I need a bit of help with this.
EDIT: Turns out it was all Interrogates fault, Visual Studio was supplied the wrong Python library, even though I explicitly set the Path with CMake, and changed some references. Even removed said other Python library, but it still found it. Ended up having to edit the VCXPROJ file, manually changing each reference from the Python not even on the Path, to my Panda3D Python libs directory (which WAS on the path) and now it works.
I'm not sure if I've done something wrong, but I compiled libpandadna successfully for Python 3.8, but I still cannot import the .pyd file! I have it in my current directory and whenever I try:
I always receive the same error.
Is there something special I have to do? Or is this just not working on Python 3 still? I need to compile my .dna files for the Python PDNA loader I'm using, and I have one stubborn .dna file that converts but it fails to read past the check that looks for if it was compressed or not.. So was going to instead use libpandadna since it's a tad cleaner, however, I need a bit of help with this.
EDIT: Turns out it was all Interrogates fault, Visual Studio was supplied the wrong Python library, even though I explicitly set the Path with CMake, and changed some references. Even removed said other Python library, but it still found it. Ended up having to edit the VCXPROJ file, manually changing each reference from the Python not even on the Path, to my Panda3D Python libs directory (which WAS on the path) and now it works.