Installing Python modules in the Softimage Python site-packages


To get a Python module like PIL to work with the Python installed with Softimage, you will need to edit the registry. I tested this on my system, where I do not have any Python installed, except the Python installed with Softimage.

The PIL installer is looking in the registry for that Python install path, so we must edit the registry to put in the path to the Softimage Python.

You can use regedit to add the registry entry

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath

Then set the “(Default)” value to

C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python

If you do have an external Python installed, you can just temporarily change the “(Default)” value to point to the Softimage install of Python.

Hat Tip: leendert68

Also: mabxsi suggests an alternative approach that avoids editing the registry

6 thoughts on “Installing Python modules in the Softimage Python site-packages

  1. And you could add that temporarily changing the registry value works if there is also an “external” Python (not the one installed with SI) present on the system.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s