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

前端 未结 11 704
情歌与酒
情歌与酒 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:22

    I ran into the same problem, on macos, after removing all R packages installed by anaconda. Unfortunately, the only solution I found is to reinstall anaconda. Alternatively, you could download miniconda shell script installer, run it with -U option and point the installer at your conda directory. This fixed the issue for me while maintaining settings such as channel priority. However, many of previously installed packages were not importable (Python couldn't find them) and i ended up re-installing all of them.

提交回复
热议问题