Hacker News new | ask | show | jobs
by elzbardico 256 days ago
Everybody else uses virtual environments and alternate installations of python instead of using and installing packages in the system python installation. It is not that hard.
1 comments

That is the incantation.
I memorized it quickly enough from some time experimenting with cuda/ai tools.

python -m venv .

. bin/activate

pip install -r requirements.txt

`uvx <tool name>` and you're done. You don't even need to install the tool first.
The ephemeral environment that uv creates is as much an "installation" as the permanent one doing it manually.
The fact that you called one "ephemeral" and the other "permanent" makes me think you contradicted your own point.
No, I just don't think the word "install" has the same connotations that you apparently think it does.