Running Node-RED in a Python Virtual Environment

https://blog.hardill.me.uk/2025/09/10/running-node-red-in-a-python-virtual-environment/

Recent changes to Raspberry Pi OS show the following error if you try to use `pip` to install a Python module

pi@raspberypi:~ $ pip install RPi.GPIO

error: externally-managed-environment

× This environment is externally managed

╰─> To install Python packages system-wide, try apt install

python3-xyz, where xyz is the package you are trying to

install.

If you wish to […]

#Environment #ExecStart #ExecStartPre #nodeRed #python #raspberryPi #StandardOutput

Running Node-RED in a Python Virtual Environment

Recent changes to Raspberry Pi OS show the following error if you try to use `pip` to install a Python module pi@raspberypi:~ $ pip install RPi.GPIO error: externally-managed-environment × This env…

Ben's Place