Sorry Python but it is what it is.

  • goatbeard
    link
    fedilink
    arrow-up
    39
    arrow-down
    1
    ·
    8 months ago

    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
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

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

      • mog77a@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        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
          link
          fedilink
          arrow-up
          1
          ·
          8 months 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
      link
      fedilink
      arrow-up
      5
      ·
      8 months 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!