• Jesus_666@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 day ago

    Except if they then have to run it on their machine and the setup instructions start with setting up a venv. I find that a lot of Python software in the ML realm makes no effort to isolate the end user from the complexities of the platform. At best you get a setup script that may or may not create a working venv without manual intervention, usually the latter. It might be more of a Torch issue than a Python one but it still means spending a lot of time messing with the Python environment to get things running.

    This may color my perception but the parts of the Python ecosystem I get exposed to as an end user these days feel very hacky. (Not all of it is, though; I remember from my Gentoo days that Portage was rock solid.)

    • Confused_Emus@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      4
      ·
      21 hours ago

      Figuring out venvs was a bit frustrating for me. Particularly since the steps I was following to install a particular app mentioned nothing about them, so I just got an error when I tried to follow their instructions. Thankfully managed to get it figured out, but yeah, definitely wouldn’t have been my first choice for an install method if others were available for that app.

    • The Quuuuuill@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      20 hours ago

      if they do that’s not release ready software that you should concern yourself with imo. that’s a problem of project maturity not runtime choice

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      24 hours ago

      Security issues aside, you can freeze python code to an executable, linux, mac, windows.

      Kind of neat IMO. Except the security concerns ofc.

    • rhabarba@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      There are reasons why Common Lisp (that I absolutely prefer as well) is still a big thing in AI-related applications. Some of those are listed in your comment.

    • FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      ML is a very new field and so most programs are not mature, and indeed they can have you messing around with venvs and such.

      But most python software people actually used is packaged by a distro already.

      • rhabarba@feddit.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        3
        ·
        1 day ago

        ML is a very new field

        ML has been there since the 1950s. What is an old field for you?

        • SSUPII@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          qWhile true, we are not using the same tools as we did in the 50s. Especially with the very quickly evolving situation of today, half measures and hacks are normal.