Error of using share extension #31
Unanswered
uncompleted
asked this question in
Q&A
Replies: 1 comment
-
|
I have googled the error message, and found this reference: It looks like you may have the wrong "enum" module imported. May be you have packages installed in "site-packages (user)" that override the enum module that comes with Pythonista. To pinpoint the problem, you could enter the following in the Pythonista console: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The scripts I have is only two imports:
import os import appexwhen a photo is shared by selecting 'Run Pythonista Script' -> personalized scripts, it shows below error message:
Traceback (most recent call last): File "/private/var/mobile/Containers/Shared/ AppGroup/0659F643-BA52-4098-B9D4-B225AC75C2C7/ Pythonista3/Documents/Examples/Extension/Text Statistics.py", line 3, in <module > import appex File "/var/containers/Bundle/Application/ 1B6CFCED-8420-4F81-AB4D-E29379C12097/ Pythonista3.app/Frameworks/Py3Kit.framework/ pylib/site-packages/pythonista/appex.py", line 5, in ‹module> import ui File "/var/containers/Bundle/Application/ 1B6CFCED-8420-4F81-AB4D-E29379C12097/ Pythonista3.app/Frameworks/Py3Kit.framework/ pylib/site-packages/pythonista/ui.py", line 4, in ‹module> import re File "/var/containers/Bundle/Application/ 1B6CFCED-8420-4F81-AB4D-E29379C12097/| Pythonista3.app/Frameworks/Py3Kit.framework/ pylib/re.py" ', line 146, in ‹module› class RegexFlag (enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'Anyone knows how to solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions