issues with exporting to many formats

when i export to any formats (such as Trainz .im files or Railworks .igs file), i get a python error saying ‘cannot create weak reference to ‘classobj’ object’. any idea why> and how can I fix it? PS, im running blender stable version 2.48

here’s a pic if you need more information:

The error message shows that you don’t have python installed. You need to install python. This needs to be the correct version of python for your operating system. It is saying you need python 2.6

I did, but it dint work.

Are you sure you have the correct python, the error message is referring to a python 2.7 folder not python 2.6