To activate virtual environments on POSIX systems using venv, the path is misconfigured.
Executing the command proposed in the documentation throws error, at least for MacOS operating systems.
| Platform |
Shell |
Command to activate virtual environment |
| POSIX |
bash/zsh |
$ source <venv>/bin/activate |
|
fish |
$ source <venv>/bin/activate.fish |
|
csh/tcsh |
$ source <venv>/bin/activate.csh |
|
pwsh |
$ <venv>/bin/Activate.ps1 |
how-venvs-work