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
@whydoesnothingwork Thanks 🙏 Really good clear useful video of how modules are needed / used in #nixos with the #configurationdotnix to set ( #port #ipaddress etc. ) parameters using #execstart and #systemd for an application / #package #clouddns providing a #service .

TIL: If your /var/ partition fills up completely with #Docker images, you can use a different mount point for Docker data. Just change this line in /lib/systemd/system/docker.service (after stopping docker, and rsyncing all /var/lib/docker contents over)

ExecStart=/usr/bin/dockerd --data-root /media/dennis/64GB_SD_EXT4/docker -H fd:// --containerd=/run/containerd/containerd.sock

#ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

I ran into this issue with my #NVIDIA Xavier whose root disk starts with only 11GB free.