Okay, I’ve just been learning about the Python scripts and how to use them. This post is mostly for me to confirm if I’ve done things correctly, since I’ve never done this before. Thusfar, I’ve downloaded the most current version of Python, and carefully followed the Sticky for setting my path:
I created a new system variable called “PYTHONPATH” to include this variable:
Yep, on the current release of Blender python 2.4 won’t work, at least not properly. Ah, and you shouldn’t really escape those backslashes.
C:\Python24;C:\Python24\DLLs;C:\Python24\lib;C:\Python24\lib\lib-tk
should work just fine.
If you need to have python 2.4 installed you can keep it installed, install 2.3 in its folder and switch between pythonpath values by starting Blender with a small batch file, for example:
blender.bat:
set PYTHONPATH = C:\Python23;C:\Python23\DLLs;C:\Python23\lib;C:\Python23\lib\lib-tk
C:
cd "C:\Program Files\Blender Foundation\Blender\"
blender.exe
Blender started like this will behave slightly differently, as it will output to the console window left open by the batch file instead than to its own console window. It also gives out this warning: “could not determine argv[0] path” but as far as I can tell it works just fine, and i have tested this by importing some modules that are only present in the full python install.