Search code examples
pythonpip

pip: force install ignoring dependencies


Is there any way to force install a pip python package ignoring all its dependencies that cannot be satisfied?

(I don't care how "wrong" it is to do so, I just need to do it, any logic and reasoning aside...)


Solution

  • pip has a --no-dependencies switch. You should use that.

    For more information, run pip install -h, where you'll see this line:

    --no-deps, --no-dependencies
                            Ignore package dependencies