I could not get a working example of importing a compiled library (pyd file) in Python.
I compiled the blender source code, result is a bpy.pyd file. This file is placed in the python\lib folder.
In the source code I have import bpy
The file is found at runtime, but I get a runtime error that the module could not be imported
Does someone have a good documentation on importing compiled python modules? I searched ~100 entries, but only general definitions on how to do this. I trued all suggestions without success.
Thanks!
答案 0 :(得分:0)
发现错误: pyd文件是用32位Python编译的,用64位Python调用