Conda

Installation

Miniconda installation guide: doc

Environment Management

Create environment

conda create --name myenv python=3.7

List environments

conda info -e

Remove environment

conda remove -n myenv --all

Rename environment (work around)

conda create --name new_name --clone old_name
conda remove --name old_name --all

Update environment

Clean cache

Don't activate base environment automatically

Hide environment info

Update installation location

  1. Move installation folder

  2. Download conda installer

  3. Run script with -u parameter

Launch shell with Conda environment

PowerShell

Use Conda with Visual Studio Code

Numpy DLL not found

Reasons:

  1. Not launching vscode from anaconda-prompt. Environment variable is not set.

  2. Installing numpy using pip. Anaconda environment uses a different installation folder. Should install numpy using command conda install numpy.

Last updated

Was this helpful?