(Official: http://www.python.org/ftp/python)
This article describes the installation configuration of pyhton integrated with other plug-ins.
This method has many problems and is not recommended.
1. Download the Integration Environment
Http://www.portablepython.com/
I downloadedPortable Python 1.1 Based on Python 2.6.1
Integrated the following plug-ins
Django-1.0.2-final
IPython-0.9.1
PIL-1.1.6
Py2exe-0.6.9
PyGame-1.8.1
PyReadline-1.5
Pyscripter v1.9.6
PyWin32-212
Rpyc-2.60
SPE-0.8.4.c
WxPython-unicode-2.8.9.12. install it in the specified path
3. Configure Environment Variables
Add two variables
"Installation path \ app"
"Installation path \ app \ sripts"
To the PATH variable.
(Environment Variable editing tool http://www.rapidee.com/en/download is recommended)
4. Test
Enter Python OK in cmd.
5. Problems
1) In the python environment installed in this way, if you want to run the py file in cmd, you need to make the following changes:
By manage. py runserver
Change
Python manage. py runserver
2) Python django-admin.py startproject newtest cannot create Django Project
Solution:
Add the path to the file before the django-admin.py, such as: Python E: \ Python \ portablepython_1.20.py2.6.1 \ app \ scripts \ django-admin.py startproject newtest