Cant import pyd file

i write a py fn,then make it to a pyd file, import pyd in omniverse extension,but failed




pyd.7z (88.0 KB)

Hi @zhoujunhua91

According to the images, the compilation was done using Python 3.10.

Omniverse Python environment version is 3.7.
It is not possible to import compiled files between different Python MINOR versions.

Try compiling the code with Python 3.7 (any version 3.7 will work for this)

2 Likes

thank you