Python, Django, and pycharm installation experiences

Source: Internet
Author: User
Tags install django

Step 1: Install Python (preferably Install Version 2.x, and version 3.x does not support Django currently)

 

 

 

I installed python2.7. Download URL:

 

Http://www.python.org/getit/releases/2.7/

 

The installation process is relatively simple.

 

 

 

Step 2: Install PostgreSQL and psycopy

 

 

 

Django supports PostgreSQL, MySQL, and SQLite databases. PostgreSQL is the recommended data. It is:

 

Http://www.postgresql.org/download/

 

Or a little more accurate one-click installation edition http://www.enterprisedb.com/products-services-training/pgdownload

 

I downloaded sql-9.1.1-1-windows.pdf and double-click sql-9.1.1-1-1-windows.exe.

 

 

 

 

 

To allow python to access the database, install psycopg, which is:

 

Http://www.stickpeople.com/projects/python/win-psycopg/#Version2

 

The installation is relatively simple.

 

 

 

Step 3: Install Django

 

1. Download Django (I downloaded a Django-1.3.1), address: https://www.djangoproject.com/download/

2: Decompress the package to the C:/python26 directory.

3: Switch to C:/python26/Django-1.3.1

Run: Python setup. py install

4: Django installation is complete.

5. Add c: \ python26 \ scripts to the environment variable path.

 

 

 

Step 4: Install pycharm

 

It seems that the installation has not been attempted. After the .exe file is downloaded, it is installed step by step;

 

:

 

Http://www.jetbrains.com/pycharm/

 

 

 

After installation, you only need to use it directly.

 

 

 

Author jetway_wmn

Reference: http://www.2cto.com/kf/201111/110478.html

Related Article

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.