Try using
pip install <package> --no-binary :all:
You can find this option (and the values it takes) in pip install --help
.
There’s also the --no-use-wheel
option, but that has been deprecated in favour of the above and removed in pip
10.0.0
.
Here is reference in official documentation:
https://pip.pypa.io/en/stable/reference/pip_install/#install-no-binary