python pip: force install ignoring dependencies

后端 未结 2 790
孤街浪徒
孤街浪徒 2020-12-04 10:03

Is there any way to force install a pip python package ignoring all it\'s dependencies that cannot be satisfied?

(I don\'t care how \"wrong\" it is to do so, I just

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 10:38

    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
    

提交回复
热议问题