Conda: The following packages are missing from the target environment

前端 未结 1 352
自闭症患者
自闭症患者 2021-01-18 01:03

I\'m trying to uninstall awscli:

conda list | grep aws
awscli                    1.18.78                  pypi_0    pypi

(base) % conda remove awscli
Collec         


        
1条回答
  •  北恋
    北恋 (楼主)
    2021-01-18 01:52

    Use Pip

    The channel value of pypi indicates that this package was installed from PyPI using pip, and therefore - as suggested in @Sraw's comment - it needs to be removed with pip.

    pip uninstall awscli
    

    Additional Tips

    Using pip in your base is discouraged. See "Using Pip in a Conda Environment".

    The conda list command accepts a regex, so you don't need grep (which ends up filtering out the header information) to search specific packages. In this case conda list aws would have sufficed.

    0 讨论(0)
提交回复
热议问题