3 ms·
Usually us plebs use the system python. With no python version manager (I don’t even know any off the top of my head). Also virtualenvs only get you so far, I
by dijit 2y ago
Usually us plebs use the system python.
With no python version manager (I don’t even know any off the top of my head).
Also virtualenvs only get you so far, I’ve come back to many projects on my machine with broken virtualenvs, I guess due to some dynamically linked dependency of python that my system no longer has.
:(
- ok_dad 2y ago> With no python version manager (I don’t even know any off the top of my head) Try a tool called `pyenv`. It's pretty great. I pair it with the package manager called `poetry`.
- Joeboy 2y agoOr https://github.com/astral-sh/uv https://github.com/astral-sh/uv can replace both. Various features are tagged as "experimental", and I guess the api might change, but it seems to work already. I have high hopes for it eventually making python's fragmented package management issues go away. Edit: Somebody's going to respond with the XKCD aren't they? I know about the XKCD and I nevertheless have high hopes for `uv`.
- Izkata 2y agoLooks like pyenv does the same thing as asdf, except only for python. https://github.com/asdf-vm/asdf https://github.com/asdf-vm/asdf And here's a list of everything it supports: https://github.com/asdf-vm/asdf-plugins/tree/master/plugins https://github.com/asdf-vm/asdf-plugins/tree/master/plugins
- jashmatthews 2y agoIt's the sledgehammer approach but... Docker?