python path or modules on windows xp still do not work

C:\Python21; C:\Python21\DLLs; C:\Python21\lib; C:\Python21\lib\plat-win; C:\Python21\lib\lib-tk

that is what i entered after creating a new pythonpath enviroment variable in xp.

from the cmd i cannot access python in any way and modules like os or string cannot be found from blender.

print sys.path works
[‘C:\Python21’, ’ C:\Python21\DLLs’, ’ C:\Python21\lib’, ’ C:\Python21\lib\plat-win’, ’ C:\Python21\lib\lib-tk’, ‘’, ‘C:\Program Files\Blender Foundation\blender-2.27-windows’, ‘C:\PROGRA~1\BLENDE~1\BLENDE~1.27-’, ‘c:\Python21\, c:\Pyhton21\lib’]

so i guess that the enviroment variable works somehow.

any clues???

i try to get the obj import export script from teethe working

eicke

And you already went through the whole python-path thread?

mh yes i went through it.
since i am not familiar with windows i can only try out what other wrote.

teeth wrote me that adding import sys and sys.path output into the head of a script will give blender all access and it worked!

eicke

Great! He’s a great problem solver. I’m glad you got that sorted out because I’m not much help and I hate to see someone struggle! :smiley:

well thank you :slight_smile:

Martin

Very welcome! You’ve got 10 times as many posts as me which means you’re 10 times as helpful :wink: