Home >Backend Development >Python Tutorial >Detailed installation tutorials for Python, pip, and easy_install

Detailed installation tutorials for Python, pip, and easy_install

Y2J
Y2JOriginal
2017-05-05 17:19:571746browse

This article mainly introduces how to install Python, pip, and easy_install on Windows. Friends who need it can refer to

Install Python

Download the Python installation package

www.python.org/downloads/

Graphical installation

Select the installation location and install to D:\Program Files (x86)\Python27

Set environment variables

Add D:\Program Files (x86)\Python27; to PATH "note the format"

Verify installation

Detailed installation tutorials for Python, pip, and easy_install

Install pip

Download pip installation package

pypi.python.org/pypi/pip#downloads

Detailed installation tutorials for Python, pip, and easy_install

Download and install

After downloading, unzip and enter the decompressed directory through the CMD terminal. Install via the following command. Use "shift+right mouse button" on the folder to "open a command window here"

Python setup.py install

Set environment variables

Add D:\Program Files (x86)\Python27\Scripts; to PATH "Pay attention to the format and replace your own python installation directory"

Verify installation

Detailed installation tutorials for Python, pip, and easy_install

Install setuptools

Download setuptools installation package

pypi.python.org/pypi/setuptools#downloads

Detailed installation tutorials for Python, pip, and easy_install

Download and install

After downloading, unzip and enter the decompressed directory through the CMD terminal. "Shift+right mouse button" on the folder can "open a command window here"
Through the commandpython ez_setup.pyAutomatic installation

Set environment variables

The method is the same as above to install pip

Verify the installation

easy_install virtualenv

##[Related Recommended】

1. Python Free Video Tutorial<a href="http://www.php.cn/course/list/30.html" target="_self"></a>

##2.

Python Learning Manual<a href="http://www.php.cn/course/366.html" target="_self"></a>

3.

Python object-oriented video tutorial<a href="http://www.php.cn/course/273.html" target="_self"></a>

The above is the detailed content of Detailed installation tutorials for Python, pip, and easy_install. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn