Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Debugging Anaconda

Sometimes packages will not install as wanted (resulting in import errors, Anaconda Navigator is not behaving as expected or does not start up at all. This page summarizes remedies for such problems.

Conda environment creation never finishes

Phenomenon: creating a conda environment with and environment file (conda env create -f environment.yml) results in quasi-eternal loading without the environment being installed even after several hours.

Fix: Before creating the environment, set the installation priority to strict (answer adapted from https://stackoverflow.com/questions/63734508/stuck-at-solving-environment-on-anaconda):

conda config --set channel_priority strict

Conda package installation fails

Phenomenon: Installation of a Python library or package through Anaconda Prompt fails.

Fix: Several reason may cause that installing new packages fails in Anaconda Prompt or Linux / macOS Terminal:

Anaconda Navigator does not start up

The most common problems for Anaconda not starting up are listed in the developer’s docs and include:

Other, bug-fixes, not listed on the above-metioned developer’s website are:

Large storage size of Anaconda

The Anaconda base environment comes with many pre-installed packages and can be very storage intensive in the order of many gigabytes. Every new environment that is produced can take the same size and multiple conda environments may jam your hard disk. Again, there are some solutions:

Cannot find ... path

In Anaconda Prompt or Linux / macOS Terminal run conda init and restart the application.