I don’t think I’ve ever done anything with python and pip that didn’t result in an entire cascade of errors, failed installs, can’t use newest version, can’t write to disk, and a myriad other absurd errors. Then I go online and people are using these tools like you just double click something and it goes. What internet do you guys live in where any of this shit actually works?

Replies (33)

okay now that windows is not a factor, have you tried venvs (probably yes) maybe try docker because someone has already suffered enough to prepackage it if you are trying to CUDA just hope the stars align
Venv is half the source of my problems because I cannot conceptually hang onto how many different ways and locations a different python version or set of tools is installed. It *sounds* like a solution, but it’s just the thing I end up fighting with for hours after nothing works the basic way.
Gotta make a python virtual environment and activate it, at least thats what works for me when installing and using libraries with pip, ymmv
We use Conda, venv, or virtualenv from day one, and never not use it.
python sucks for dependency management. use “uv”, it’s the best option these days.
I feel you. I try to combine project A which depends on Ax, and want to use it with project B which depends on Bx, but x is of different versions. In which case I pick a specific version of x, and add the breaking change from the other version as an override patch. It just takes years of experience and a deep knowledge of Python I guess.
BottleTeams's avatar
BottleTeams 1 month ago
YouTube how to install Python. Anaconda and pip. It's by far the easiest most approachable language. Start with pandas and numpy and you can do 90% of mostly anything. Anything you want to do there are examples online / stackoverflow.
John's avatar
John 1 month ago
UV is the most pleasant option
⚠️We make the Perfect replicas from Passports and 🆔🪪 from Spain and Belgium. 🪄We produce them from scratch providing you a brand new identity to travel safe or even protect your assets opening an offshore bank account! 😎Escrow payment of your choice! 😀You can even open online bank accounts with it as it passes the scans in the registration step. 📱Live video proof of the making process✌🏻 DM for more information. 🙏🏻
+1 for the mise and uv love. Specifically - uv for simple python packages - mise + uv if you plan on having a polyglot package, e.g python + NodeJS - nix flakes if you want to go full retard and guarantee reproducibility across machines
Default avatar
oversoldered 1 month ago
are you for sure actually using the venv you intended to use when running your python script?
I’m with you. I quit a past job over having to try wrangle a ridiculously convoluted Python codebase and running into exactly the issues you’re describing. I don’t know how or why anyone ships any production software with Python. Sure, it works for quick and dirty one-off scripts, but anything more than that and you run into crazy amounts of untestability and non-determinism.
UndaFlow's avatar
UndaFlow 1 month ago
I feel you G. I have trouble just trying to load software
If I’m searching for some software to solve a need I have and I land somewhere good, if it’s written in Python, I swiftly close the tab. Just give me a single executable like golang produces, thank you very much. And stop breaking the language every few years. And I say this as a Python programmer. 🤯
I’ve also really thought about trying Ruby but Go was more relevant in my fiat job. I also really like having a type system. It helps me conceptualize the flow of data better than when I was using python.
You should try meshtastic, then you'll know where on the difficulty scale your experience belongs.