omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Install SDL2 and PyBoy?

    Pythonista
    2
    3
    1890
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Drizzel
      Drizzel last edited by

      I’m trying to implement PyBoy, a GameBoy Color Emulator written in Python, into a custom Ui. PyBoy has to be installed by downloading the project folder and then running setup.py, which requires modules that seem to not be supported by Pythonista. So I just moved the pyboy folder into site-packages-3, but running

      from pyboy import pyboy
      

      results in

      ImportError: could not find any library for SDL2 (PYSDL2_DLL_PATH: unset)
      

      And

      pip install pysdl2
      

      doesn’t change anything.

      Is there any way to set PYSDL2_DLL_PATH, assuming pysdl2 can run in Pythonista?

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @Drizzel last edited by

        @Drizzel, looks like an impossible mission:

        ”SDL is written in C, works natively with C++, and there are bindings available for several other languages, including C# and Python.”

        We cannot install C libraries into Pythonista.

        1 Reply Last reply Reply Quote 0
        • Drizzel
          Drizzel last edited by

          @mikael All right, thank you

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors