
If you need to compile significant amounts of C code, installing from source will be much slower instead of relying on precompiled binaries, you’ll need to compile it all yourself. If at all possible, you want to install wheels, because installing from source will be slower.

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:


Installing your Python application’s dependencies can be surprisingly slow.
