Python environment and python Environment

Source: Internet
Author: User

Python environment and python Environment

Source: http://www.cnblogs.com/winstic/, reserve this connection

Summarize how to install a third-party package in python.

 

Python Installation

Python installation is very simple. I use win32 + Python 2.7.3. You only need to download the corresponding version of Python msi file https://www.python.org/downloads/windows/, and install Python in a foolproof way.

Finally, do not forget to add the Python installation path to the environment variable path. Mine is (F: \ Python27)

Enter python in the win32 doscommand box. If the following result is displayed, the installation is successful.

  

 

Python third-party package installation

Third-party packages are often used to improve programming efficiency when using python,

1. Directly download exe resources such as: numpy-1.9.0-win32-superpack-python2.7.exe, this installation method is very simple, it is also silly Installation

2. decompress the package file and find the. py file. Then, run the python ***. py command in dos to install it. For example, install ez_setup.py.

Do not show Chinese characters in the command line

Finished... is displayed in the Command box, indicating that the installation is successful.

 

3. You need to manually download the above two methods and install them later. We can also install them in the command line by using easy_install packagename.

In the Scripts file, add F: \ Python27 \ Scripts to the environment variable. If the test appears under the doscommand, the installation is successful.

To install the third-party package in the future, run the easy_install flask command to install the flask web framework)

 

 

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.