See here For more info see here
Category: Virtual Environment
Creating a virtual environment for python programs
Raspberry Pi OS manages Python packages a bit differently to some Linux installs and will insist on using a virtual environment (e.g. you get an error: “error: externally-managed-environment”) Creating a virtual environment is good practice anyway for Python development in general, as it helps to manage dependencies and avoid conflicts. pip You have to use […]