Troubleshoot 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 package installation fails¶
Several reason may cause that installing new packages fails in Anaconda Prompt or Linux / macOS Terminal.
Make sure to close all Python-dependent applications (e.g., Jupyter or PyCharm) before installing.
Conflict solving activates:
Wait until conflicts are parsed (and solved)
Enter
conda update conda
Enter
conda update anaconda
Restart Terminal or Anaconda Prompt
Try to re-install the package prompted.
Large size of Anaconda on disk¶
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:
Create light-weight environments with Miniconda.
Clean tarballs an unnecessary package installation files with Anaconda Prompt or Linux / macOS Terminal:
Aggressive cleanup:
conda clean --all
(read more in the developer’s docs).Conservative cleanup:
conda clean -tipsy
Cannot find … path¶
In Anaconda Prompt or Linux / macOS Terminal run conda init
and restart the application.