this post was submitted on 13 Oct 2023
324 points (81.4% liked)

Programmer Humor

32371 readers
584 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Sorry Python but it is what it is.

you are viewing a single comment's thread
view the rest of the comments
[–] goatbeard@lemm.ee 37 points 1 year ago (2 children)

Try not to learn too much from memes, they're mostly wrong. Conda is good, if you're looking for something more modern (for Python) I'd suggest Poetry

[–] Pantoffel@feddit.de 5 points 1 year ago (1 children)

Tbh, I'm always ending up having issues using poetry and conda. I prefer using penv and pip.

[–] mog77a@lemmy.ml 2 points 1 year ago (1 children)

100% this. I remember really really trying to get the hang of them and eventually just giving up and doing it manually every time. I somehow always eventually mess something up or god forbid someone who isn't me messes it up and I end up spending 4 hours dependency hunting. Venv and pip while still annoying are at least reliable and dead simple to use.

However, a container is now my preferred way of sharing software for at least the past 6 years.

[–] Pantoffel@feddit.de 1 points 1 year ago

Yup. A container i slow to rebuild, but at least the most robust. This is my preferred way to share python code when there are system dependencies involved.

[–] gronjo45@lemm.ee 5 points 1 year ago

Never have heard of Poetry, but I'll check it out tonight! I pretty much exclusively coded in Python and Julia up until I got out of uni. I learned after a couple of months of insanity swapping kernels, init systems, distributions and learning everything about file systems only leads to further insanity and productivity hindrance.

Something something recommending someone who doesn't know what a shell is to use emacs and make a Lua/Neovim config. Thanks for the tip!