How to install and manage CONDA environments - gecos-lab/PZero GitHub Wiki

This WIKI summarizes how to set up a working Anaconda development environment as we were using it to develop PZero (no more supported).

1) Install Anaconda3 as single user from installer:

Download Anaconda or Conda from https://www.anaconda.com/download or https://docs.conda.io/projects/conda/en/latest/index.html and install as single user (system-wide installation is to be avoided since it causes problems with PATH and permissions).

In case of any problem with a previous Anaconda installation, you can clean it following these notes.

Then from the Anaconda terminal upgrade all:

conda update conda
conda update anaconda-navigator
conda update anaconda

Then test Anaconda Navigator:

anaconda-navigator

Included in this installation you have a base environment with standard Python tools (check with conda list).

To add a link to the Anaconda Prompt, and Jupyter Notebook and Lab in the Windows right-click context menu, useful to launch them from within any folder, follow the instructions in conda_shortcuts.

Instructions for installing conda on Linux can be found in this quick guide.

With this you have a fully working Anaconda development environment.


2) How to install the standard PZero environment used in this project:

If you already have a pzero environment, completely remove it:

conda activate base
conda remove --name pzero --all

Then install a new pzero environment from the PyPi requirements.txt file:

conda create --name pzero --file requirements.txt