Nix allows you to do this with any language and required dependency: https://wiki.nixos.org/wiki/Nix-shell_shebang
Whoa! This is a revelation. I already loved Nix and used nix-shell extensively, but this is the missing piece: fully reproducible Python scripts without compromise.
Now you have to set up Nix first and deal with that nightmare of a learning curve. Just to auto-install some dependencies for a script.
Might as well rewrite all your scripts in Rust too while you're layering on unholy amounts of complexity.