RecycleView makes Kivy crash
I followed the directions in the Kivy documentation on how to package Windows apps, but my app crashes as soon as I try to run This. The last line of the trace suggests the problem with my RecycleView widget:
File "C:\Users\awende\AppData\Local\Continuum\Anaconda3\lib\site-packages\kivy\factory.py", line 139, in __getattr__ module = __import__(name=item['module'], fromlist='.') ModuleNotFoundError: No module named 'kivy.uix.recycleview.__init__.' Failed to execute script SingleTabApp
I tried importing kivy.uix.recycleview into all of my .py and .kv files that it hasn't imported yet, but that doesn't seem to be the problem. I'm not sure if this is a problem with my code, or if something else is going on.
Other potentially relevant information:
- I am using Python 3.6.1 with the current version of PyInstaller.
- Kivy version 1.10.0
- SingleTabApp is the name of my main Python script and it worked correctly before using PyInstaller.
+3
Alex wende
source
to share
1 answer
install the latest cython, note that there is a corresponding kivy version for the cython version. To implement RecycleView, the kivy version in your "apk package" and not on your computer must be at least 1.10
0
SP SP
source
to share