Commit b34f3c03efe617635791e9126689b7b082bb8684
1 parent
9c1c944e
Exists in
master
docs: add instructions for virtual environments
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
README.md
| ... | ... | @@ -56,6 +56,13 @@ configuration file `~/.config/pip/pip.conf` (FreeBSD, Linux) or |
| 56 | 56 | user = yes |
| 57 | 57 | ``` |
| 58 | 58 | |
| 59 | +To install packages in a virtual environment in the aprendizations directory: | |
| 60 | + | |
| 61 | +```sh | |
| 62 | +python3 -m venv .venv # in the aprendizations directory | |
| 63 | +source .venv/bin/activate # activate the virtual environment | |
| 64 | +``` | |
| 65 | + | |
| 59 | 66 | ### Install aprendizations |
| 60 | 67 | |
| 61 | 68 | ```sh | ... | ... |