Forum Archive

Did I break Pythonista & StaSH?

andypiper

I’m running Pythonista 3.3 on iPadOS 13 and I - perhaps foolishly? - just ran “selfupdate” in StaSH after quite a while, taking it from 0.7.2 to 0.7.4

... and just like that, all of my pip and pip3 commands are failing. list commands return nothing, and installs return a pile of errors.

Any ideas? Should I reinstall everything? :-(

JonB

You should force quit pythonista, then restart, and see if it is still broken.

You can always just delete the stash folder, and reinstall. You don't need to reinstall pythonista.

andypiper

Thanks... tried the force quit/restart and that hasn’t helped. By “delete the stash folder” is that just stash_extensions? that appears to have several scripts under bin/ that relate to installed Python libraries. I guess I’m not sure how to clean up whatever I did :-/

JonB

From the main file browser (from the upper left menu button in the editor), find Python Modules. Then under that you should see site-packages, or site-packages-3. Under one of those you will find a stash folder, also anything you have installed with pip. Just delete the stash folder and anything you thing was installed by mistake, or was installed by pip. You can use the edit menu to select a folder then trash it.

You might be able to just rerun the install script, after doing a force quit.