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. Update system and ensure virtualenv […]
Category: Virtual Environment
pip
Using pip You have to use a virtual environment under Raspberry Pi OS when using pip to install packages, the OS will block you without one.
Running virtual environment at boot
See here For more info see here