So I’m no expert, but I have been a hobbyist C and Rust dev for a while now, and I’ve installed tons of programs from GitHub and whatnot that required manual compilation or other hoops to jump through, but I am constantly befuddled installing python apps. They seem to always need a very specific (often outdated) version of python, require a bunch of venv nonsense, googling gives tons of outdated info that no longer works, and generally seem incredibly not portable. As someone who doesn’t work in python, it seems more obtuse than any other language’s ecosystem. Why is it like this?

  • DarkThoughts@fedia.io
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    17 days ago

    Tried to install Automatic1111 for Stable Diffusion in an Arch distrobox, and despite editing the .sh file to point to the older tarballed Python version as advised on Github, it still tells me it uses the most up to date one that’s installed system wide and thus can’t install pytorch. And that’s pretty much where my personal knowledge ends, and apparently that of those (i.e. that one person) on Github. ¯\_(ツ)_/¯

    Always funny when people urge you to ask for help but no one ends up actually helping.

    • zaphodb2002OP
      link
      fedilink
      arrow-up
      2
      ·
      16 days ago

      Lol this is exactly why I made this post. I ended up using ComfyUI instead which has other, different python issues, but I got it working (kinda, no GPU but it’s fine it works)

      • DarkThoughts@fedia.io
        link
        fedilink
        arrow-up
        1
        ·
        16 days ago

        I definitely want gpu support. Although I struggle with that somewhat on Koboldcpp as well where I can’t use ROCm, only Vulkan. Unsure where the difference is performance wise.

        I’d like to try the other UIs too, but the problem is that Automatic1111 is where the majority of additional plugins can be found.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      17 days ago

      despite editing the .sh file to point to the older tarballed Python version as advised on Github, it still tells me it uses the most up to date one that’s installed system wide and thus can’t install pytorch.

      Can you paste your commands and output?

      If you want, maybe on [email protected], since I think that people seeing how to get Automatic1111 set up might help others.

      I’ve set it up myself, and I don’t mind taking a stab at getting it working, especially if it might help get others over the hump to a local Automatic1111 installation.