Home >Backend Development >Python Tutorial >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
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:
4, verify that pip installation is successful
Re-open cmd, enter:
pip install beautifulsoup4
The installation is successful, as shown in the picture:
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## Then reopen the cmd window and enter the command.
Recommended related articles: 1.For more Python related technical articles, please visit the
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
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!