I have build a Python extension (via Swig 2.0.4) which I am able to import/load in Python3.2 on OS X 10.5.8 PPC
However, when I tried to import the same module in Blenders Python console, I get this error:
found bundled python: /opt/blender/v2.58/blender.app/Contents/MacOS/2.58/python
Fatal Python error: PyThreadState_Get: no current thread
Does any know of a possible cause ? Or have advice on the proper way to configure/use SWIG and get it to generate bindings that play nice with Blender3D.
As a reference test, I have build numpy and h5py and successfully loaded them in Blender3D's Python Console.
Did you find a solution? I'm having this problem.