Skip to content
ohsudo, Home

Tags

#pip

error: externally-managed-environment
Linux

pip "error: externally-managed-environment": install Python packages the right way

Fix pip "externally-managed-environment" on Ubuntu 24.04 and Debian 12: use apt, a virtual environment or pipx, and know when --break-system-packages is acceptable.

Beginner · 3 min read

SSL certificate problem: unable to get local issuer certificate
Security

"SSL certificate problem: unable to get local issuer certificate": fix the chain, not the check

Fix "unable to get local issuer certificate" in curl, git, pip, npm and Docker: find the broken link with openssl, then fix the server chain or add the missing CA.

Intermediate · 4 min read