May 2021
Intermediate to advanced
142 pages
3h 37m
English
Python’s built-in third-party package manager is called pip. pip allows you to download third-party Python packages from the internet and use them in your programs. In this section you’ll learn how to mitigate some of the dangers inherent to pip as you use it to download packages.
You can try running pip by executing the following:
| <= | python3 -m pip --version |
If you run this command, you should see output roughly like the following:
| <= | pip 20.2.3 from /home/monty/code/my-virtual-env/lib/python3.9/site-packa |
| | ges/pip (python 3.9) |
Your output may be slightly different if, for example, you are using a different version of Python, pip, or have Python installed in a different location. That’s ...