kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
776 stars 240 forks source link

dynamic module does not define module export function (PyInit__sqlite3) #743

Closed hui0613 closed 2 years ago

hui0613 commented 2 years ago

i want to use sqlite3 in pyhton, when i run the program, the following error occurs, what do i need to do

Snipaste_2022-08-23_18-10-53

Versions

misl6 commented 2 years ago

Hi @hui0613 What's your kivy-ios version?

hui0613 commented 2 years ago

@misl6 How should I check the version of kivy-ios ? I didn't find a command to check the toolchain version. I just installed kivy-ios yesterday by following the steps below. Am I missing something ?

Snipaste_2022-08-24_09-25-47
hui0613 commented 2 years ago

Is there a solution to this problem?

misl6 commented 2 years ago

I just installed kivy-ios yesterday by following the steps below

We're now targeting Python 3.9.9, but from your logs seems your app is referring to Python 3.8, is the xcodeproj been generated with a previous version of kivy-ios ?

Also, does not seem to follow our usual structure. Did you make any custom changes?

hui0613 commented 2 years ago

我昨天按照以下步骤安装了 kivy-ios

我们现在的目标是 Python 3.9.9,但从您的日志看来,您的应用程序指的是 Python 3.8,是否xcodeproj使用以前版本的kivy-ios?

此外,似乎没有遵循我们通常的结构。您是否进行了任何自定义更改?

Yes, I need to use kivy-ios to provide the runtime environment, and the UI still uses swift or object-c. When I create the project using toolchain create <title> <path>, I can successfully import sqlite3, I will understand the structure of this project and make changes accordingly. thank you very much

misl6 commented 2 years ago

Yeah, we had an issue previously with sqlite3 that has been later fixed. Closing the issue as support.

github-actions[bot] commented 2 years ago

👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.