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?
Login to reply
Replies (33)
linux
(it still breaks)
So Linux is just being an asshole about it? Yea I’m on linux if that’s a question. If that’s your solution, this does not help me 😆
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
It barely just works. But once it works it kinda works most of the time.
with java you will experience the great modern java vs java8 divide
go just works (mostly)
It's still a pain, but I've found it less painful with mise.
https://mise.jdx.dev/
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.
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.
https://m.youtube.com/watch?v=YYXdXT2l-Gg&list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU&index=2&pp=iAQB
That is your entire playbook
I don’t know what sort of black magic this thing is doing but it’s the solution to all of your Python package issues.
https://github.com/astral-sh/uv
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
I feel the exact same way about pip. It never works for me and drives me completely insane. I started using Go as my main language and it’s so much better
are you for sure actually using the venv you intended to use when running your python script?
What ever happened to Poetry? nostr:nprofile1qqsvrlrhw86l5sv06wkyjgs6rrcekskvk7nx8k50qn9m7mqgeqxjpvgprfmhxue69uhkuurjdau8jtntwf5hxarpwpekktnvwchs6xy5ja is the one to ask since lnbits seems to have already hopped bandwagons
Othernet
call me some time and i will be happy to share some tips :D
Apparently all I needed was uv, venv, anaconda, mise, othernet, pandas, and numpy
ITS SO SIMPLE! 😂😂
nostr:nevent1qqszg5hydqdu2zsa20a4r37hn4meq79qq9m9fzg2evajgxxprtp5lpcpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgvlss8n
nostr:nevent1qqszg5hydqdu2zsa20a4r37hn4meq79qq9m9fzg2evajgxxprtp5lpcpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgvlss8n
I’ve been seeing a lot of people talk about go lately what all do you do with it?
It’s very general purpose. You can build web apps, CLI tools, scripts, etc. I’ve mostly been playing with web apps as of late though.
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.
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. 🤯
Very cool I was about to play with Ruby for web apps may give go a try over it. Thank you.
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.