1. Go tohttps://www.python.org/. 2. On the Navigation bar, click Downloads. 3. Scroll to the list of release versions, and then click Python 3.6.0 (Release date 2016-12-23). 4. On the Python 3.6.0 page, scroll to the list of installer files, and then select Windows x86 executable installer. 5. When prompted to run or save python-3.6.0.exe, click Run. 6. Select the following options, and then click Customize installation. l Install launcher for all users (recommended) l Add Python 3.6 to PATH : 7. On the Optional Features screen, select all options, and then click Next. 8. On the Advanced Options screen, select the following options: l Install for all users l Associate files with Python (requires the py launcher) l Create shortcuts for installed applications l Add Python to environment variables 9. In the Customize install location box, verify that C:\Program Files (x86)\Python36-32 is the installation location, and then click Install. 10. When the installation is finished, close the Install window. Finially, to create a .py file with Model Builder l In Model Builder, on the toolbar, click the Open Python Script button. 注意:sps目前只支持python3.6.0版本,安装目录只能是C:\Program Files (x86)\ |