Home >Backend Development >Python Tutorial >How to install pip in python3.6

How to install pip in python3.6

尚
Original
2019-06-27 15:39:459967browse

How to install pip in python3.6

The method to install pip for python3.6 is as follows:

Recommended manual: Python basic introductory tutorial

1, download the whl file

How to install pip in python3.6

2, put the downloaded file into the root directory of Python

For example: D:\Python36, put the file Enter this directory;

3, open cmd, enter Python:

cd /d D:\Python36

Then execute the command:

python.exe pip-9.0.1-py2.py3-none-any.whl/pip install pip-9.0.1-py2.py3-none-any.whl

Installation result:

How to install pip in python3.6

4, verify that pip installation is successful

Re-open cmd, enter:

pip install beautifulsoup4

The installation is successful, as shown in the picture:

How to install pip in python3.6

The installation failed, prompting "not an internal command". You need to configure the path of the environment variable. Add at the end:

D:\Python36\Scripts

How to install pip in python3.6

## Then reopen the cmd window and enter the command.

Recommended related articles: 1.
How to check whether pip is installed in python2.
How to install pip in python37 3.
How to install pip under windows
Related video recommendations: 1.
Little Turtle Zero Basics Getting Started Learning Python Video Tutorial
For more Python related technical articles, please visit the

Python Tutorial column to learn!

The above is the detailed content of How to install pip in python3.6. 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