Good to know

⭐️ Its common practice to create a Virtual Environment for your python project. It helps you to isolate your project and python from the system python wich is used for macOS.


Create & Delete

Create venv

python3 -m venv .venv

Delete venv

rm -rf .venv

Activate & Deactivate

Activate

source .venv/bin/activate

Should now display something like

(.venv) alain@noonee

Check if successfully activated

which python

Deactivate

deactivate