ImportError: dynamic module does not define module export function (PyInit__imaging)

1,484 views
Skip to first unread message

Eric Weiss

unread,
May 23, 2022, 3:48:44 PM5/23/22
to Kivy users support
Recently tried to deploy my kivy app to ios platform. I received the following run time error when starting app "ImportError: dynamic module does not define module export function (PyInit__imaging)"

Any help would be greatly appreciated.

Robert

unread,
May 23, 2022, 5:11:15 PM5/23/22
to Kivy users support
Try using the master version of kivy-ios, some of these dynamic loading issues have been fixed in that version.

Eric Weiss

unread,
May 24, 2022, 11:43:42 AM5/24/22
to Kivy users support
Thank you for replying. I used the version from Github. Is that the correct master version?

How does one determine which recipes need to be included with toolchain.py build vs toolchain.py pip install as it applies to any python/kivy app? I am not sure how to find out what recipes are required for my app to begin with.   

Robert

unread,
May 24, 2022, 12:46:14 PM5/24/22
to Kivy users support
> I used the version from Github. Is that the correct master version?
The Github master is the only one to use.
Kivy-ios is in development, if you installed more that two weeks ago - reinstall.

I don't  a workaround for this, I suggest creating an issue. https://github.com/kivy/kivy-ios/issues

Figuring out requirements of third party packages is hard

Robert

unread,
May 24, 2022, 4:29:58 PM5/24/22
to Kivy users support
Just in case, install the master version with:   pip3 install git+https://github.com/kivy/kivy-ios.git

Eric Weiss

unread,
May 26, 2022, 2:53:54 PM5/26/22
to Kivy users support
How do you install the master version with pip3? Once I copy and paste the github link it automatically launches? Thanks again for your help. Creating the application for iOS is very challenging. I finished the android version and its works perfectly with no issues, but iOS is a different animal altogether.

Robert

unread,
May 26, 2022, 5:27:51 PM5/26/22
to Kivy users support
I think you are exactly right about kivy-ios, I'd say still (pre?) beta.

I don't understand the install question.
Uninstall the current one, and use the 'pip3 install' from my previous post.
Rebuild everything.
What am I missing?
Reply all
Reply to author
Forward
0 new messages