


whl files) that can just be unpacked straight on to the filesystem, with no need to run code or compile native extensions. In this case, installing will often require running Python code (a little slow), and sometimes compiling large amounts of C/C++/Rust code (potentially extremely slow). When you install a Python package, there are two ways you can install it, typically:

So how do you speed up installation with pip? Whether you’re running tests in CI, building a Docker image, or installing an application, downloading and installing dependencies can take a while. Installing your Python application’s dependencies can be surprisingly slow.
