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

How to install pip in python3.6

Release: 2019-12-31 09:20:28
Original
9971 people have browsed it

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
Copy after login

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
Copy after login

Installation result:

How to install pip in python3.6

4, verify that pip installation is successful

Re-open cmd, enter:

pip install beautifulsoup4
Copy after login

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template