I am using anaconda as below:
(base) C:\\Users\\xxx>conda info
active environment : base
active env location : C:\\Users\\xxx\\Documents\\ANACON
Recommend to upgrade conda latest version.
conda install --quiet --yes conda=4.7.11
python -m pip install --upgrade pip==19.2.2
I ran into the same problem and I couldn't find a solution, but I did find a workaround. If you create an env and activate that env and then do the install, it seems to work just fine. If you don't need a lot of libraries I would try that.
Commands are:
conda create --name myenv
conda activate myenv
I started running in to this problem when one package suggested following modifications before installation
conda config --set channel_priority true
so I just reverted it and voila error's gone
conda config --set channel_priority false
Create a new environment if your are not superuser, after that activate environment to install packages
https://stackoverflow.com/a/61117831/7802476 helped me. Creating a new environment using the accepted answer didn't get my jupyter notebook to recognize the installed opencv. I could only import cv2
when I was in the environment on my terminal.
The fix was to use pip instead of conda, pip install opencv-python
I run into same problem while installing geopandas
. The issue was gone after I upgraded to a newer version of Anaconda using:
conda update --prefix C:\apps\anaconda3 anaconda
Note: you'll have to modify the path C:\apps\anaconda3
pointing to your own installation directory.
Strangely, I did download Anaconda from the official homepage just a few hours ago and thought I had the newest version...