Python install Python and pip in windows (1), pythonpip

Source: Internet
Author: User

Python install Python and pip in windows (1), pythonpip
Install Python and pip in windows

 

Install Python

First, let's install Python, https://www.python.org/downloads/ first

Here we select 2.7.10.

 

 

Step 2. Install the SDK. After the download is complete, click Next.

 

Step 3: Configure Environment Variables

Set environment variables. Therefore, we need to manually add environment variables: right-click my computer-> properties-> advanced system settings-> environment variables-> PATH-> Add our Python installation PATH to the end-> click OK. The following figure is used:

 

 

Step 4. After the installation is complete, open the console and enter "Python". We can see the following results:

 

 

Finally, the test output is Hello Python.

 

Install pip

Install pip. We also need to download on the Python official website, is: https://pypi.python.org/pypi/pip#downloads:

 

After the download is complete, decompress the package to a folder, use the CMD console to enter the decompressed directory, and enter:

Python setup. py install

After the installation, input pip directly in the command line. It also shows that 'pip 'is neither an internal command nor a running program. Because we have not added environment variables.

According to the method described earlier to add environment variables, we add the following at the end of PATH:

C: \ Python34 \ Scripts;

Now we have installed pip completely:

 

================================

Upgrade the package to the latest version. You can use-U or -- upgrade

Pip install-U Markdown

Uninstall package

Pip uninstall Markdown

Query package

Pip search "multiprocessing"

List Installed packages

$ Pip freeze

 

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.