Install modules in softimage factory's Python

Publié le par Mr_Cappuccino

last day I needed to Install Python Pil module ,but the installer couldn't found the Python installed in softimage and It don't even ask you for a manual search!!

So I installed a global Python and checked what was going on.

I found that the only way is to add the PythonPath and InstallPath in the registry:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\InstallPath = C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python

 

and

 

HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.6\PythonPath = C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python\Lib;C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python\DLLs;C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Application\python\Lib\lib-tk

Commenter cet article