Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
445 views
in Technique[技术] by (71.8m points)

python - Attempting to write a KIVY hello world app through my iPhone using Pyto IDE, error?

trying to write and deploy a simple hello world app through my iPhone. I have only a windows computer and I want to write a simple iPhone app so I figured I could do so on my iPhone since it is using iOS architecture. When I run this simple Hello-World app through an Python IDE app called Pyto I get an error message.

Here is the Kivy Hello World code:

from kivy.app import App
from kivy.uix.label import Label
 
 
class MyApp(App):
    def build(self):
        return Label(text="Hello World")
 
 
if __name__ == "__main__":
    MyApp().run()

And here is the error on my iPhone using the app Pyto:

Traceback (most recent call last):
File "iCloud/hello.py", line 1, in <module>
from kivy.app import App
File "Documents/site-package/kivy/__init__.py", line 338, in <module>
mkdir(kivy_home_dir)
permissionError: [Errno 1] Operation not permitted '.kivy'

Any and all help are welcome!

THANKS!

question from:https://stackoverflow.com/questions/65942978/attempting-to-write-a-kivy-hello-world-app-through-my-iphone-using-pyto-ide-err

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...