Can I force pip to reinstall the current version?

前端 未结 7 1909
Happy的楠姐
Happy的楠姐 2020-11-27 09:07

I\'ve come across situations where a current version of a package seems not to be working and requires reinstallation. But pip install -U won\'t touch a package

7条回答
  •  有刺的猬
    2020-11-27 09:42

    sudo pip3 install --upgrade --force-reinstall --no-deps --no-cache-dir ==
    

    Some relevant answers:

    Difference between pip install options "ignore-installed" and "force-reinstall"

提交回复
热议问题