How to uninstall package in Anaconda installed with pip

后端 未结 3 499
醉酒成梦
醉酒成梦 2021-02-02 12:17

The problem:

I have installed Anaconda:

conda -V
conda 4.4.7

Also I installed a lot of packages for it using pyt

3条回答
  •  旧巷少年郎
    2021-02-02 12:59

    If you installed the package using setup.py, then you will most likely have to delete the package files manually.

    You'd find the Uninstalling setup.py install wiki useful. Unix instructions quoted below:

    sudo python setup.py install --record files.txt
    # inspect files.txt to make sure it looks ok. Then in bash:
    tr '\n' '\0' < files.txt | xargs -0 sudo rm -f --
    

提交回复
热议问题