Create new python enviornment:
python3 -m venv myvenv
Activate python virtual enviornment:
cd myvenv
source /workspaces/myRepository/myvenv/bin/activate
Deactivate virtual enviornment to return to home directory:
deactivate
cd ~
📝 Note: if not workiung try installing virtualenv