Recently, I installed nltk with StaSh to do some natural language stuffs.
I wrote a python 2 script with pythonista, which works from iOS sharing extension.
But whenever I tried to run the script from sharing extension, an error occurred:
ImportError: No module named nltk, even though nltk was installed at /Documents/Modules & Templates/site-packages.
When I try to import the nltk from the Pythonista3 app, it was imported normally without any bugs.
My default interpreter is python 2 now.
I searched the community for the phenomenon but got nothing about this bug.
Anyone know how to fix this?
Thanks.