"external" Python gotcha XSI2015
Posted: 04 Jul 2016, 12:39
When trying to use an "external" Python (with the appropriate PyWin32 installed, obviously) with Softimage 2015 R2-SP2 you may run into unexpected crashes at startup.
The way to solve this is to create an environment variable called "PYTHONHOME" and set it to the path of your Python installation (i.e. something like "C:\Python27".
If you want to revert back to "internal" Python, you'd have to delete the environment variable again.
One more thing: when using an "external" Python, chances are the "print" command will stop working and you'll be forced to use "LogMessage" again...
The way to solve this is to create an environment variable called "PYTHONHOME" and set it to the path of your Python installation (i.e. something like "C:\Python27".
If you want to revert back to "internal" Python, you'd have to delete the environment variable again.
One more thing: when using an "external" Python, chances are the "print" command will stop working and you'll be forced to use "LogMessage" again...