linux : blender exporter to torque => python issue


I used this tutorial to install the torque dts exporter from blender :

I use linux ubuntu with :

Python 2.4.2
Blender : blender-2.40-linux-glibc232-py24-i386.tar.gz
Blender Python Scripts for 2.4 ( export blender to dts )

When i launch the menu file/export/“torque shape …” , i get the folowing message error into the unix window and the export function stop with “script error” message.

Any idea to fix it ?

Using Python version 2.4
Traceback (most recent call last):
File “<string>”, line 37, in ?
File “/home/philippe/blender-2.4-static/.blender/scripts/DTSPython/”, line 30, in ?
from Torque_Util import *
File “/home/philippe/blender-2.4-static/.blender/scripts/DTSPython/”, line 26, in ?
import struct, array, math, string
ImportError: /usr/lib/python2.4/lib-dynload/ undefined symbol: _PyArg_NoKeywords

Blender quit

Have you take a look here ?

Curious. I do not see that symbol PyArg_NoKeywords in either the Python source (2.4.1 ) or in Blender. Makes me wonder if there is some ubuntu Python strangeness.