Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot remove conda package

I seem to be unable to uninstall a package.

when I run conda remove geopandas I get:

Solving environment: failed

PackagesNotFoundError: The following packages are missing from the target environment:
  - geopandas

If I then run conda info geopandas I get a list of 10 versions of geopandas looking like geopandas 0.4.0 py37_1, geopandas 0.4.1 py_0, etc. Are these installed on my system? How do I remove them?

like image 562
Alexis Eggermont Avatar asked Oct 24 '25 15:10

Alexis Eggermont


1 Answers

I ran into the same problem. If the packages were pip installed conda remove won't work. In that case, you'll have to do pip uninstall geopandas. If you run conda list geopandas and the channel says pypi, then they were pip installed.

like image 105
Wes Avatar answered Oct 27 '25 04:10

Wes