• QuaternionsRock@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    You need to install Python package dependencies. pip install -r requirements.txt is the simplest way to do it, but that unfortunately installs the packages globally. May be wise to use a virtual environment.

    • humanplayer2@lemmy.ml
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Would pip install --user -r requirements.txt not be OK, too? I understand it’s not as isolated as a virtual environment, but it’s easy.

    • 30p87@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It needs to be installed globally or as root, as the script runs under root. Pip does not like being run with different permissions or as different users not at all tho.