Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm? My venvs do include the Python version (via symlink to /bin). Don't yours?


If you use something like uv (expanded here: https://news.ycombinator.com/item?id=43904078), I think it does. But if you just do `python -m venv .venv`, you get the specific version you used to create the virtual environment with. Some OSes seem to distribute binaries like `python3.8`, `python3.9` and so on so you could do `python3.8 -m venv .venv` to look one env to a specific version, but a bit of a hassle.


The GP's problem was (apparently) an inability to install the right python version, not an inability to select it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: