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!!
-
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?
-
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.