Hacker News new | ask | show | jobs
by silverwind 1148 days ago
Defintely, `#!/bin/python3` will not work inside venvs, I suppose.
1 comments

Or any distro that doesn't put a python3 executable in /bin. Many current distros symlink /bin to /usr/bin, but not all do, and python3 would usually be in /usr/bin. POSIX only requires /usr/bin/env and /bin/sh to exist, every other path you might use in a shebang can be moved around.