Files
mind-palace/cli/venv.md
T
2025-01-15 22:37:23 -05:00

21 lines
414 B
Markdown

To create a new Virtual Environment (venv) run the following in the root folder of your project
```bash
% python3 -m venv venv
```
To activate the venv
```bash
% source venv/bin/activate
```
Your terminal should then look like this
```bash
% (venv) jonas@bendorama %
```
If it doesn't make sure you run the source command before working on your project.
To deactivate the venv just run
```bash
% deactivate
```