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?

2
  • Trying creating a new environment rather than installing into an existing one - conda create -n newenvwithqgis -c conda-forge qgis Commented Feb 13, 2024 at 20:16
  • Thanks. I have also tried this but still the same error Commented Feb 13, 2024 at 21:20

1 Answer 1

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.

3
  • 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. Commented Feb 22, 2024 at 8:01
  • I just tried installation with another computer with the same miniconda version and I had no problem at all. Weird. Commented Feb 22, 2024 at 8:55
  • Afaik they use different dependency solving strategies, maybe there is something broken there. Commented Feb 22, 2024 at 8:59

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.