This tutorial will install:
- macOS with zsh
w.i.p....
w.i.p....
- Go to the folder of the project and create the virtual environment:
$ cd /my/path/of/my/project
$ python -m venv .venv
This command will create the folder
.venv
inside the folder of the project with the version of the Python choosed.
- Activate the virtual environment:
$ source .venv/bin/activate
Commands to execute inside virtual environment:
which python
To validate the location of virtual environment pythonpython --version
To check the version of virtual environment pythondeactivate
To get out of the virtual environment