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.


    Error: No modules named ctypes.macholib

    Pythonista
    2
    3
    1742
    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.
    • joshpaulie
      joshpaulie last edited by

      Sad to have spent $10 on an ide I can’t use 🤪
      Does anyone have a workaround for this?

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

        https://github.com/omz/Pythonista-Issues/issues/311#issuecomment-398715503
        You can install ctypes.macholib, which is pure python, and will let you import ctypes.utils.
        Be aware that you won’t be able to create your own executables on iOS. You can load some iOS dylib’s, but not all. Many functions are already included as statically linked, in the ‘objc_util.c‘, so if there is something specific you might try to see if that function exists in c.

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

          Thank you so much! I was deterred from that post because the next response was something about it not working. It totally worked though. Thanks man. Now I can play with my discord bot from my iPad lol

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