I was just jumping through hoops getting Python (the one from python.org) to go on Windows Vista, with the set-up that includes Blender 2.4.9b and scapy
First, Blender 2.4.9b (Win32, compiled with Python 2.6) was not seeing Python on startup.
The reason for this is that I had previously installed Blender 2.48 (Windows 64-bit, compiled with Python 2.5) which doesn’t come with an installer, so I had manually set ENV variable “PYTHONHOME=C:\Python25”. So simply changing Python25 to Python26 made it work with Blender.
Then I had to run the installer for scapy, which uses Python to install itself, and it complained that it couldn’t find the “distutils” package. So I went off troubleshooting to see how to help Python find its modules (as distutils was clearly in C:\Python26\lib), and even after I judiciously set the right thingies (i.e. PYTHONPATH), it still didn’t work…
As it turns out, in the regular system PATH, the Cygwin-installed Python 2.5 was getting found first, and that was mucking things up. So I edited the PATH to include C:\Python26, and moved C:\cygwin\bin to the end.
I had installed Cygwin, with all attachments (two 750 GB drives makes it easy to just install everything) so that I could compile nuttcp-7.12 on Windows.
This post is actually more of a note-to-self, but maybe someone else will benefit…