Conda environment

You may think of Conda as the venv in Python – coarsely speaking, offers the same functionality. It is useful for creating virtual environments, which can be used with Python – a special set of libraries, etc.

You can get it here: https://docs.conda.io/en/latest/miniconda.html

How to initialize Conda

Assuming you have downloaded Conda and you are in fresh terminal, you can create your first environment. I will call it dlwp, as I am working with this environment.

conda create -n dlwp

conda activate dlwp

conda deactivate

How to make Conda play nice with VS Code

In VSCode (assuming all Python extensions are installed), you install Python Environment Manager, an extension that allows to view and organise virtual environments for Python. How do you access it? CMD+Shift+P then select environment you want. You can set it as default for your workspace too.

Simple 😀

And of course, how to list all the environments

conda env list