简体   繁体   English

导入错误:android kivy 启动器上没有名为请求的模块

[英]ImportError: No module named requests on android kivy launcher

I am trying to run my python3 code through the kivy launcher on my android device but it crashes on launch, pointing towards the requests module in the error log.我正在尝试通过我的 android 设备上的 kivy 启动器运行我的 python3 代码,但它在启动时崩溃,指向错误日志中的请求模块。 Is there any way to get the requests module to work on my android device?有什么方法可以让请求模块在我的 android 设备上工作吗? As a side note, I am not using buildozer for this as I do not have a Linux machine, its strictly through the kivy launcher.作为旁注,我没有为此使用 buildozer,因为我没有 Linux 机器,它严格通过 kivy 启动器。

@Mark.97 Copy the modules required into the "kivy" folder on the mobile. @Mark.97 将需要的模块复制到手机上的“kivy”文件夹中。 I was able to run the application successfully with kivy launcher after copying the following modules.复制以下模块后,我能够使用 kivy 启动器成功运行该应用程序。 - requests - idna - certifi - chardet - urllib3 - 请求 - idna - certifi - chardet - urllib3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM