Skip to Content
Intuitive Python
book

Intuitive Python

by David Muller
May 2021
Intermediate to advanced
142 pages
3h 37m
English
Pragmatic Bookshelf
Content preview from Intuitive Python

Installing Third-Party Packages Securely with pip

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.

Running pip

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pythonic Programming

Pythonic Programming

Dmitry Zinoviev
Python for Geeks

Python for Geeks

Muhammad Asif

Publisher Resources

ISBN: 9781680508635Errata Page