Hacker News new | ask | show | jobs
by alexwaygood 4 days ago
> They insist that you use a venv

Hmm, that's not accurate anymore! We look for your Python installation in a number of places these days -- we should discover system installations on PATH, conda installations, pixi installations, and, yes, local virtual environments. Is your Python installation at `~/.local` on PATH?

2 comments

(sorry, I forgot how local installations work -- of course they are not on PATH. My colleague mentioned above that this is indeed a specific place we don't yet look for installs. My broader point remains that we certainly don't require virtual environments, however.)
I was remembering an old report from uv requesting the pip equivalent of --user and being told that it would never support it.
That is where I looked, and it does not include ~/.local/lib which is where `pip install --user` installs to by default.