Continuum Analytics: Documentation

# Troubleshooting

Contents

- Troubleshooting
  - What causes an “unable to remove files” error when trying to update or install packages with conda on Windows?
  - What causes an Insecure Platform Warning?
  - On OS X or Linux, what causes a “conda: command not found” error?
  - Why are files left behind after uninstalling Anaconda on Windows?
  - What can I do if Spyder fails to launch on Windows?
  - Why do I get a MKL Trial warning even though MKL-linked packages are now free and installed by default?
  - What causes “permission denied” errors when loading MKL shared libraries?
  - How can I force Miniconda to install?
  - I have a troubleshooting question that is not answered here.

See also FAQ

## What causes an “unable to remove files” error when trying to update or install packages with conda on Windows?

This may result from a file lock issue. Before updating or installing any packages with conda, be sure to terminate any running Anaconda processes such as Spyder or IPython.

If you receive an error message like: `Error: Unable to remove files for package: <package-name> please close all processes running code from conda and try again.`

You can force the install of the package: `conda install -f package-name`

## What causes an Insecure Platform Warning?

The warning “InsecurePlatformWarning” appears only when the installed version of Python is older than version 2.7.9. This message warns only that the validity of the SSL connection is not being verified; it should not affect your package downloads. Install this updated package to resolve this on Windows:

    conda install ndg-httpsclient

NOTE: You will receive the SSL warning again when initially installing this package. Once it is installed, the warnings will go away.

## On OS X or Linux, what causes a “conda: command not found” error?

Problems with the PATH environment variable can cause `conda: command not found` errors or a failure to load the correct versions of python or ipython. To fix these issues, find the location of your Anaconda binary directory, add a line to the file .bashrc in your home directory to add that location to your PATH, and close and re-open your terminal windows. For example, a user with the username jsmith on a Linux machine whose Anaconda binary directory is `~/anaconda` could add this line to their .bashrc file:

    export PATH="/home/jsmith/anaconda/bin:$PATH"

## Why are files left behind after uninstalling Anaconda on Windows?

Since some users may need to keep setting files and other users may need to delete them, Anaconda leaves some setting files in place when it is uninstalled. Specifically, the directories `.spyder2`, `.ipython`, `.matplotlib`, and `.astropy` remain. Depending on your version of Windows these may be in `C:\Documents and Settings\Your_User_Name` or in `C:\Users\Your_User_Name`.

## What can I do if Spyder fails to launch on Windows?

1. Try launching it again.
2. On the menu, choose “start” and then “Reset Spyder Settings”, then try to launch Spyder again.
3. Launch the command prompt by running “cmd” from the Start menu, then type “Spyder” in the command prompt.
4. Delete the directory `.spyder2` from the `C:\Documents and Settings\Your_User_Name` directory and then repeat the previous steps.

## Why do I get a MKL Trial warning even though MKL-linked packages are now free and installed by default?

Please see the Anaconda MKL documentation on dismissing MKL Trial warnings.

## What causes “permission denied” errors when loading MKL shared libraries?

Please see the Anaconda MKL documentation on resolving “permission denied” errors.

## How can I force Miniconda to install?

I am getting a conda error and want to reinstall Miniconda to fix it but when I try, it gives me the error that Miniconda (or Anaconda) is already installed and will not let me continue.

Please install Miniconda using the -f (force) option.

Download and install the appropriate Miniconda for your computer operating system from the Miniconda download page using the force or -f option as shown:

    bash Miniconda3-latest-MacOSX-x86_64.sh -f

NOTE: Substitute the appropriate filename and version for your operating system.

NOTE: Be sure that you install to the same install location as your existing install so it overwrites the core conda files and does not install a duplicate in a new folder.

## I have a troubleshooting question that is not answered here.

Free support for Anaconda is available through the Anaconda mailing list. For Continuum Analytics installation or technical support options, visit our support offerings page.