← Back to context

Comment by stonecharioteer

3 months ago

I compile python from source when I'm being particularly anal about isolation. Used to have playbooks for that too.

That’s totally a thing you can do, but I don’t think it gets you anything at all over just using the built-in virtualenvs. (Although lots of people create them with uv or mise or poetry or whatever, the feature is part of Python itself, and all those tools do is create and configure them for you.)

Also, pyenv and uv are wonderful ways to install whatever version you want without having to compile them locally, and you can have many versions installed at once and use a different one for each virtualenv if you want to.