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.
Published at
2024-05-22 18:47:05Event JSON
{
"id": "c0b394dc3fecfa5fca7129c0ec7b474069d5e176e2a23881b4fcf2415190161a",
"pubkey": "83e8f3548c469a91a5210a2e47a9b7434d4b51b6ac2f722d490efba92fcd5ad6",
"created_at": 1716403625,
"kind": 1,
"tags": [
[
"proxy",
"https://mas.to/@zekjur/112486227985849664",
"web"
],
[
"proxy",
"https://mas.to/users/zekjur/statuses/112486227985849664",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mas.to/users/zekjur/statuses/112486227985849664",
"pink.momostr"
]
],
"content": "Wow, apparently Python virtualenvs can break when you update your system:\n\nzsh: /home/michael/src/pretix/env/bin/pip3: bad interpreter: /home/michael/src/pretix/env/bin/python3.11: no such file or directory\n\nThe env/bin/python3.11 symlink points to /usr/bin/python3.11, which no longer exists (itโs now python3.12).\n\nApparently the --copies flag is available to prevent this, but not enabled by default.",
"sig": "fd201195f7420b98831003b5818d5edfbc4d6659eb9f1a5d1b8d25a45104a93925e54654b9697f3ccc7bc3ce4c009bf41bf4fad914106f35b566bab72d7ef224"
}