Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
install StaSh on pythonista for iOS to get pip working
# from https://forum.omz-software.com/topic/1919/stash-shell-like-an-expert-in-pythonista
# this script will get pip working on iOS!
import requests as r
exec(r.get('http://bit.ly/get-stash').text)
@CodyKochmann
Copy link
Author

CodyKochmann commented Jun 2, 2020

might be because those need to be compiled during install. Ive had issues with stash and cpython libraries since theyre designed to compile at install.
Ive only gotten it to work once as a POC, but it is possible to compile static clibs or .so files that work fine on pythonista in ios. Its not universal enough to apply to everything. But it is worth noting.

@CMWolfe922
Copy link

CMWolfe922 commented Dec 5, 2021

I dont know how This is supposed to work. I did everything the instructions said and nothing works. I have Pythonista on my iPhone and iPad. I ran

import requests as r
exec(r.get('http://bit.ly/get-stash').text)

Then tried running launch_stash.py (which doesn’t exist). I tried reading the README.md and doing everything that said and it still doesn’t work. Is there something I am missing? I thought once this is installed you can use pip in the console and download python packages.

@DeklynHunt
Copy link

DeklynHunt commented Mar 27, 2022

i did this and was successful in the download/install on my phone, but i tried a couple commands and it said that pip didnt exist, i may have been doing it wrong i honestly dont know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment