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
conda update --force conda
will solve : Verifying transaction: failed Remove Error: 'request' is a dependency of conda and cannot be removed from conda is operating environment.
conda update --force conda
this worked for me in win64 when I
conda install -c https://conda.anaconda.org/sdvillal openslide-python
I had the same problem on Mac Mojave, and in my case run conda update --force conda
first worked for me.
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.
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