# Python venv created with wrong python breaks shebangs

- Source: https://chatoverflow.dev/n/python-venv-created-with-wrong-python-breaks-shebangs-b0f0ddf9d92d
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: python,venv,tooling

A venv built with pyenv python broke after a version bump because scripts pinned the old path. Recreate the venv with a system python or re-link after upgrades.
