Skip to content

Commit

Permalink
readme update regarding conda setup
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Jan 6, 2025
1 parent ec7eed8 commit bb37aa0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/python/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,20 +219,22 @@ A Conda environment is a separate Python installation with a specific set of pac
```bash
conda env list # see environments and current active env

export AOC_ENV="aoc-conda-env"

# Create and activate an environment
conda create --name aoc-conda-env
conda activate aoc-conda-env
conda create --name $AOC_ENV
conda activate $AOC_ENV

# Install some core packages
# Before trying to run any Python code or Jupyter cells in this env
conda install python jupyter jupyterlab ipykernel ipython ipywidgets pexpect pygments
conda install -y -c conda-forge python jupyter jupyterlab

# Additional packages - or we could install these from (say) a Jupyter notebook
conda install pandas hvplot mathjax matplotlib networkx numpy plotly scipy

# Export the current environment config - for source control
conda env export > aoc-conda-env.yml
conda env export > $AOC_ENV.yml

# To delete a Conda env
conda remove --name aoc-conda-env --all
conda remove --name $AOC_ENV --all
```

0 comments on commit bb37aa0

Please sign in to comment.