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

21 lines
398 B
Markdown

To create a new Virtual Environment (venv) run the following in the root folder of your project
'''
% python3 -m venv venv
'''
To activate the venv
'''
% source venv/bin/activate
'''
Your terminal should then look like this
'''
% (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
'''
% deactivate
'''