1

I have a new Conda environment and tried to install QGIS in the environment with the following command with the instruction of anaconda documentation.

conda install conda-forge::qgis

The installation is getting hanged in the step Solving Environment.

I tried updating conda when with answers from this question.

Still did not solve the issue. Is there any other alternative?

Tahmid
  • 21
  • 3

1 Answers1

1

Installation has worked in 2023 as described in the answer https://gis.stackexchange.com/a/450154/30184 but I confirm that it does not work for me today.

conda install conda-forge::qgis
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: /

There is no error but installation does not progress. The task manager shows that a Python process is using 100% of CPU of two cores and reserves 4.5 GB of memory. I waited for half an hour before stopping the process.

user30184
  • 65,331
  • 4
  • 65
  • 118
  • 2
    Are you sure that is not just slow conda being slow conda? I successfully installed conda create --name qgistest qgis in 2 minutes using miniforge (based on mamba instead of the standard conda. – bugmenot123 Feb 22 '24 at 08:01
  • I just tried installation with another computer with the same miniconda version and I had no problem at all. Weird. – user30184 Feb 22 '24 at 08:55
  • Afaik they use different dependency solving strategies, maybe there is something broken there. – bugmenot123 Feb 22 '24 at 08:59