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

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

    I had the same problem. Try to use the command prompt to install wheel file if you get an error something like this(as shown in picture) then you must install that wheel file:

    Extra(how to install wheel file from command prompt):

    • download wheel file as per the system specifications: -search required file here https://www.lfd.uci.edu/~gohlke/pythonlibs/ -e.g. bsddb3 -click bsddb3 and search required file
    • open command prompt on your system
    • change the location on the command prompt to: where you have downloaded wheel file e.g C:\Users\Name\Downloads
    • go to the location, where you have installed python>>go to script>> copy the path (e.g C:\Program Files (x86)\Python36-32\Scripts)
    • write the command, to install wheel file using pip install (e.g. C:\Program Files (x86)\Python36-32\Scripts\pip install copy_name_of_the_wheel_file)
    • run the command

提交回复
热议问题