Michael Stapelberg 🐧🐹😺 on Nostr: Wow, apparently Python virtualenvs can break when you update your system: zsh: ...
Wow, apparently Python virtualenvs can break when you update your system:
zsh: /home/michael/src/pretix/env/bin/pip3: bad interpreter: /home/michael/src/pretix/env/bin/python3.11: no such file or directory
The env/bin/python3.11 symlink points to /usr/bin/python3.11, which no longer exists (it’s now python3.12).
Apparently the --copies flag is available to prevent this, but not enabled by default.
zsh: /home/michael/src/pretix/env/bin/pip3: bad interpreter: /home/michael/src/pretix/env/bin/python3.11: no such file or directory
The env/bin/python3.11 symlink points to /usr/bin/python3.11, which no longer exists (it’s now python3.12).
Apparently the --copies flag is available to prevent this, but not enabled by default.