I need to somehow uninstall/disable my various Python installations so I can start anew with a fresh Python installation and I think I’ll just reinstall my operating system tbh
Comments
Log in with your Bluesky account to leave a comment
That was the intention. It looks great but it’s not ready yet. Having to run everything through `uv python` instead of just `python` is annoying. It also needs to support not using a virtual environment.
You may be happier using conda/mamba as you get both a global installation and “conda environments,” which are like venv except conda environments include the Python version and any system dependencies
I think this is kind of the point, you should never have to think about environments. If you hate running `uv python`, then you can always activate the underlying venv to use `python`. Although I'd be interested to know what's bothering you.
My core issue is that I couldn’t get Python to work in my IDE because I couldn’t install modules in the system Python installation, and the IDE was calling the python binary in my PATH, not `uv python`.
The solution was to forget all package managers and just use straight Python from https://Python.org.
Using the official installers is a good solution! But I don't think you should blame uv here, it sounds like an IDE-related issue. In VS Code, you can set the interpreter for a project, then it will use the venvby default (`python` works). Also, there is no global Python in uv (you don't need it).
I got to this point where I had so many python, switchers and node versions and package, managers and brew and Java versions that gave up and bought a new Mac
I regularly work in Ruby, Java, kotlin, and now Python and elixir, and the tooling around Python is far and away the most frustrating of any of those experiences. I don’t understand how Python “won“ in the low–ceremony scripting lane with things as bad as they are.
is there a reason you need to delete conda if it hasn't broke? you can install multiple python versions of even empty envs.(i only install miniconda never anaconda)
I've been using pyenv and poetry; I suspect I have more than 12 python installations but who even knows. I basically just need python for dbt pipelines.
Python demanding venv everywhere is the bane of my existence. And no, i will not learn how it works. Just let me download the prerequisite packages and run the fucking program please.
I get why they exist. But most of the time I’m not doing anything special enough to warrant separate environments. I’m just messing around. Let me mess around!
Be careful because if you use stable diffusion like I do you have to have that specific version of python going. I'm talking about that 3.10.6. Real pros use pycharm so that way you can manage venv with a gui instead of the CLI
Devcontainers have been great for me across a number of stacks that are hard to configure but I have not used them with python. Not a small investment either but the ROI keeps going up. Just in case it helps...
Comments
If I ever need to use virtual environments it might be a struggle, but I think that’s a problem best delayed. I’ve never needed those outside of work
The solution was to forget all package managers and just use straight Python from https://Python.org.
If you `uv install python —preview` you do get a global Python binary, but it’s not very useful. You can’t pip install, for example.
it's also easy to add R and R packages, it might be worth a look! I find it's cleaner that venvs
conda clean -p