Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.

Commit 6fd5898

Browse files
authored
readme for venv final
1 parent a9837f0 commit 6fd5898

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,16 @@ A python project template for educational purposes
1414
`pip install -e .`
1515

1616
## Python venv
17-
venv stands for virtual environment and is part of the python standard library (i.e. you don't have to install it).
17+
**venv** stands for virtual environment and is part of the python standard library (i.e. you don't have to install it).
18+
Python virtual environments' role is to create an isolated python environment for each project so that there are no dependency issues etc. from conflicting project requirements (e.g. Project A need pandas 1.0 and Project B needs pandas 1.1).
19+
1820
The command `python -m venv .venv` creates a directory call .venv.
1921
You can activate the virtual environment with `source .venv/bin/activate`.
2022

23+
To enable the new venv in jupyter notebooks follow the instructions here:
24+
https://janakiev.com/blog/jupyter-virtual-envs/
25+
26+
2127
## requirements.txt
2228
*[insert description]*
2329

0 commit comments

Comments
 (0)