-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for iOS #1520
Comments
Would it be possible to support iOS? If it’s possible (it seems some modifications are needed, not sure) I think I would need to compile it and include it in Pyto. |
I have an iphone but I don’t know anything about iOS development or Python on iOS. But this is interesting. Some preliminary noob questions:
|
https://itunes.apple.com/us/app/pyto-python-ide/id1436650069 is how you install Python on your iPhone. You can edit Python files and run them directly on your iPhone — You don’t need Linux. Pip install is enabled. |
We use Python C API, so no other process is spawned inside the app. |
With pip, only pure Python modules can be installed. So if a module has to be compiled, I have to compile it and include it in the app. |
@giampaolo Were you able to get Python working on your iPhone? |
I was wondering if there was any interest in reviving support for iOS. Since I want to add psutil and bpytop to iOS and macOS. Currently when I try to build psutil for iOS. I get this error. I was able to successfully build psutil for macOS on both amd64 and arm64. I was hoping since arm64 for macOS and iOS are pretty similar. That clang was able to compile it correctly however it seems that assumption was wrong. I am guessing this means support for iOS needs to be added by the developers of psutil. If this is not case please let me know. I have very little knowledge on python. So I am sorry ahead of time if this is not the case. |
I'm using a-Shell on iOS and I cannot install the psutil package (maybe because there is no precompiled wheel for ios?).
a-Shell author says that he can solve this issue including the precompiled binaries of psutil into the app as he did for most python libs, but he needs a version of the lib that compiles for iOS, and at the moment psutil doesn't have one. Please add support for iOS platform. |
Can we get support on iOS?
pip install psutil on Python 3.7 on iOS Pyto results in...
@ColdGrub1384
The text was updated successfully, but these errors were encountered: