RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating environment

前端 未结 11 708
情歌与酒
情歌与酒 2021-02-05 02:47

Having trouble installing a third party library and I have not seen this error before using Windows 10 with Anaconda installed:

C:\\Users\\XYZ>conda env creat         


        
11条回答
  •  终归单人心
    2021-02-05 03:11

    This worked for me on Linux:

    1. Uninstall the package via pip:

      pip uninstall setuptools
      
    2. Reinstall using the following command:

      conda install -c anaconda setuptools
      

    Consider also that system packages (python3-setuptools, python-setuptools in Ubuntu) might need to be removed.

提交回复
热议问题