How to enforce `uv` to use specific version?
Few days ago, in AIML cohort that I teach, one of the student faced a problem where some python package refused to install because it required python 3.10 or higher.
So I asked the student to install the latest python using
uv python install 3.14
But we kept getting the same error.
Turns out, uv uses system python by default. (Which was 3.8)
Here are the steps that ensure uv uses specific version for your project.