Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 1.15 KB

miniconda_conda_local_setup.md

File metadata and controls

25 lines (24 loc) · 1.15 KB

Local set-up using miniconda and conda

  1. Install miniconda
    • If prompted with an "Install for", select "Just Me" (instead of "All Users")
    • Ensure installation is in your home directory:
      • On Windows: C:\Users\<your_username>\anaconda3
      • On GNU/Linux: /home/anaconda3
      • On MacOS: /Users/<your_username>/anaconda3
    • Ensure you add anaconda as a path environment variable (even if it says this option is not recommended)
    • Ensure you do not register anaconda as the default version of Python.
    • Note: These installation settings can always be changed posthoc.
  2. Create conda environment and install the code dependencies from the env.yml file:
conda update conda
conda init
conda env create --file env_config/env.yml
  1. Optionally install development dependencies:
conda activate aeon
conda env update --file env_config/env_dev.yml
  1. Using the virtual environment:
    • conda activate aeon: activates the virtual environment; any commands now run within this terminal will take place within the virtual environment.
    • conda deactivate aeon: deactivates the virtual environment.