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.


    import IntEnum from enum error!!

    Pythonista
    2
    2
    955
    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.
    • SimonDreyer
      SimonDreyer last edited by

      Hi, I am trying to install opcua in pythonista using python2.7 as default. It installs ok but when I run it I get the "failed to import IntEnum" error. The normal solution to this issue from other sites is to install enum34, I have installed it but the error is still there! Any ideas please?

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

        Mov site-packages/enum folder to site-packages-2. Actually I'm not sure if enum 34 can be installed on pythonista... The usual fix for that particular error is to delete the enum folder, and force quit pythonista.

        I don't think you are going to have success installing opcua on 2.7, as at least some of its dependencies have c code. You might have better luck on 3.6, but probably will need to do some manual dependency installs, as pip doesn't deal well with complicated requirements.

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