And before you ask, yes, I have read the entirety of the Python 101 thread and the “Python Scripting” section of the Blender 2.3 manual.
My setup:
Win2k pro
Python 2.2 (installed in C:\Python22 per default)
Blender 2.33
System variable ‘PYTHONPATH’ is set to:
-> C:\PYTHON22;C:\PYTHON22\DLLS;C:\PYTHON22\LIB;C:\PYTHON22\LIB\LIB-TK
(User variable ‘PYTHONPATH’ is set the same, just in case.)
Python path set variously to “C:\Python22\LIB” and “C:\Program Files\Blender Foundation\Blender” over the course of my testing, currently set to .
The machine has been rebooted several times since setting the system variable, for reasons not related to this, but as of five minutes ago, still no joy.
The above also did not work with Blender 2.32 when I had that installed.
Also tested installing Python 2.3 and changing the system variable (& rebooting, etc). Nada.
import os
print dir(os)[/quote]
If what you posted is correct (points to the right directories), then this should work too. If this works, than pretty much all the scripts should work, except for those that requires python-packages (like CGkit for Blender World Forge).
Martin