Skip to content

Commit

Permalink
Add notes on conda create
Browse files Browse the repository at this point in the history
Reinforce that Anaconda users should try to create venv with the canonical python method first.
  • Loading branch information
MrCordeiro committed Oct 12, 2022
1 parent ae8bd80 commit 8917056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assignments/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ This assignment uses life expectancy in Europe grouped by Country (or other, lik
## Installing

1. Clone this repo.
2. Create a virtual environment with `python -m venv .venv`. If you are using conda, you can create a virtual environment with `conda create --name foundations`.
2. Create a virtual environment with `python -m venv .venv`.
> **Note for Anaconda users**: We would prefer if you exit the automatic conda environments and tried using the steps above, as they are the canonical Python way of creating virtual environments. However, we realize working that way might be tricky for Anaconda users since Anaconda usually changes the configurations of your machine. If you are having too many problems getting started, then feel free to use the "conda way" of handling environments. I.e.: create a virtual environment with `conda create --name foundations`.
3. Activate the virtual environment with `source .venv/bin/activate` or `.venv\Scripts\activate` on Windows.
> **Note for Anaconda users**: Same as above, if you are having too many problems getting started, then feel free to activate the environment with `conda activate foundations` instead.
4. Install its dependencies on editable mode with `pip install -e .[dev]`. Install its dependencies on editable mode with `pip install -e '.[dev]'`.
Expand Down

0 comments on commit 8917056

Please sign in to comment.