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.
Pythonista 2.0: Pipista does not work after update!?
-
After I upgraded to Pythonista 2.0 every script and even the console show the following error after the command "import pipista":
>>> import pipista Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named pipista
The pipista.py script is still in the main directory and all modules are in the "pypi-modules" folder.
Any hints to get get pipista support back?
-
This probably means that you've run a script that isn't in the main directory, changing the
os.curdir
. This has nothing to do with 2.0. How about you move pipista to site-packages? -
Thanks for the help!
You are right, I tried to run a script in a folder, but this worked without any problems before the update.
Now I moved pipista into site-packages and the import from the script in the folder worked, but when the script tries to import a module from the pypi-modules folder I got the same error.
I moved the pipy-modules folder into the site-packages folder but this doesn't change anything ... but wait I forgot that that site-packages folder has to be reload or something like that ... I will try now ...
Edit: After reloading everything in the site-packages folder importing from pypi-modules is working again.
Thanks for the help!
-
You're very welcome. Let me know if anything else comes up.