I’ve been trying to get luarocks to work on windows, and all it gives is cryptic gcc errors.

How does pip manage to work on most platforms without issues?

  • gid
    link
    fedilink
    English
    132 days ago

    If you’re getting gcc errors it sounds like the package you’re trying to install contains some c/c++ stuff that needs compiling.

    A lot of python packages that rely on things written in c/c++ ship those precompiled, which might account for why it feels easier for you.

    • irelephant [he/him]OP
      link
      fedilink
      1
      edit-2
      2 days ago

      Sorry if it was unclear, I constantly get cryptic gcc errors using luarocks a package manager for lua. Its years behind pip.

      • gid
        link
        fedilink
        English
        32 days ago

        No, you were clear. That’s what I understood you to mean.

        • irelephant [he/him]OP
          link
          fedilink
          22 days ago

          Ah, I’m the one who misread, sorry.

          Yeah, compiling things from scratch is the norm for lua packages, making them really only work on linux.