Jeff Saremi
Jeff Saremi

Reputation: 3014

Block Pip from implicitly installing packages

Is there anyway to instruct pip not to install any packages unless they are explicitly specific on the command line or in the requirements.txt file?

Upvotes: 0

Views: 484

Answers (1)

phd
phd

Reputation: 94502

https://pip.readthedocs.io/en/stable/reference/pip_install/#install-no-deps:

pip install --no-deps

Don’t install package dependencies.

Upvotes: 1

Related Questions