Skip to Content
Nextra 4.0 is released 🎉
ReferenceLibrariesExternal LibrariesExternal Libraries

External Libraries

External libraries are written by the Python community — they don’t come built into Python, so you need to install them first.

Installing with pip

pip is Python’s package manager. Run this in your terminal to install a library:

pip install library-name

For example:

pip install pillow

Once installed, you import it just like a standard library.

You only need to install a library once. After that, you can import it in any project on your computer.

Last updated on