01install Python Integration Environment (there will be many problems in actual development)

Source: Internet
Author: User
(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.1

    2. 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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.