eme
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| eme [2025/09/18 17:28] – created miko | eme [2025/11/25 16:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | How to solve " | + | ===== How to solve " |
| Line 26: | Line 26: | ||
| hint: See PEP 668 for the detailed specification. | hint: See PEP 668 for the detailed specification. | ||
| </ | </ | ||
| + | The error message says you can pass in the flag --break-system-packages but that sounds terrifying. I just want pip to stop nagging me, but let me manage my system dependencies like I have for many years. | ||
| + | |||
| + | I think some Python developers really want people like me to use virtual environments, | ||
| + | |||
| + | The easiest solution is to delete the EXTERNALLY-MANAGED file in your system Python installation: | ||
| + | Raspbian: | ||
| + | < | ||
| + | sudo rm -rf / | ||
| + | Trixie: | ||
| + | sudo rm -rf / | ||
| + | </ | ||
| + | Ubuntu or alike: | ||
| + | Works on CachyOS too: | ||
| + | < | ||
| + | sudo rm -rf / | ||
| + | </ | ||
| + | |||
| + | Note that the python3.11 version number should match whatever you have installed—it was 3.11 at the time of this blog post's writing. | ||
| + | |||
| + | For macOS, use find / | ||
| + | |||
| + | |||
eme.1758216500.txt.gz · Last modified: (external edit)
