INFO: Python on 64-bit Vista
This article explains how to get Python working with XSI on 64-bit Vista systems. Note that you must use Python 2.6, because on 64-bit Vista, XSI cannot support older versions of Python.
- Download PythonAMD64.zip (http://community.softimage.com/downloads.php?do=file&id=83).
- PythonAMD64.zip contains the files required to install Python 2.6 and pywin32 for both Intel and AMD 64-bit processor.
- Turn off User Account Control (http://technet2.microsoft.com/WindowsVista/en/library/0d75f774-8514-4c9e-ac08-4c21f5c6c2d91033.mspx?mfr=true) (UAC).
- Click Start, and then click Control Panel.
- In Control Panel, click User Accounts.
- In the User Accounts window, click User Accounts.
- In the User Accounts tasks window, click Turn User Account Control on or off.
- If UAC is currently configured in Admin Approval Mode, the User Account Control message appears. Click Continue.
- Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.
- Click Restart Now to apply the change right away, or click Restart Later and close the User Accounts tasks window.
- Install the Visual C++ 2005 and 2008 Redistributables:
- vcredist_x86.exe
- vcredist_x64.exe
- Install Python 2.6
- python-2.6a3.amd64.msi
- Add the python folder installation (e.g. C:\python26) to the PATH environment variable as the installer won't do it by default.
- Install pywin32
- pywin32-210.9.win-amd64.exe
- Replace <python folder>\Lib\site-packages\win32com\client\genpy.py with the copy of genpy.py supplied with PythonAMD64.zip.
- NOTE: Required since string constants are not exposed to scripting. A bug has been logged to the pywin32 team for this.
- Turn UAC back on.
This page was last modified 12:20, 19 Aug 2008.
This page has been accessed 8089 times.

