How to Install Python Extensions

First, let’s find the installation location of Python and pip, which is usually in the “/usr/bin/” directory:

ls -lh /usr/bin/


Since I have Python 3 installed here, I’ll use Python 3 as an example for demonstration purposes.
Here, we’ll take installing the three extensions html5lib, urllib3, and requests as an example. The command is as follows:

/usr/bin/pip3 install html5lib urllib3 requests

Leave a Comment

Your email address will not be published.