user1871635
user1871635

Reputation: 97

Cannot install geopandas

I am trying to instal geopandas. It goes like this:

(base) PS C:\Users\a_e_f> conda install geopandas Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. Examining tornado:*

etc etc for more than an hour.

How I got here:

I am using Windows 10

Upvotes: 0

Views: 1814

Answers (2)

user1871635
user1871635

Reputation: 97

Following merv's hints (above) I used the approach here: Conda install some-package hangs with (Solving environment: failed)

That seems to have fixed the problem.

Thanks all for your help.

Upvotes: 0

martinfleis
martinfleis

Reputation: 7804

  1. Do not install packages into the base environment, create new, clean ones for your project.
  2. Use conda-forge channel where GeoPandas team has the ability to fine tune installation process
conda create -n geo_env
conda activate geo_env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install geopandas
  1. if that doesn't help, use mamba to install GeoPandas.
conda create -n geo_env
conda activate geo_env
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install mamba
mamba install geopandas

Upvotes: 1

Related Questions