Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named '_lzma' #1730

Closed
Siam-Rayhan1 opened this issue Oct 29, 2023 · 4 comments
Closed

ModuleNotFoundError: No module named '_lzma' #1730

Siam-Rayhan1 opened this issue Oct 29, 2023 · 4 comments
Labels

Comments

@Siam-Rayhan1
Copy link

I made a kivymd app with instaloader module. But it Crashes during run time.Here's my debug log

<module>
I/python  ( 7985):    File "/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/stalkgram/arm64-v8a/instaloader/instaloader.py", line 24, in <module>
I/python  ( 7985):    File "/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/stalkgram/arm64-v8a/instaloader/nodeiterator.py", line 7, in <module>
I/python  ( 7985):    File "<frozen zipimport>", line 259, in load_module
I/python  ( 7985):    File "/github/workspace/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Lib/lzma.py", line 27, in <module>
I/python  ( 7985):  ModuleNotFoundError: No module named '_lzma'
I/python  ( 7985): Python for android ended.

Please help me to solve this issue.I've followed tons of methods but i failed

@RobertFlatt
Copy link
Contributor

Add the missing system library to buildozer.spec requirements.

Support issue

@github-actions
Copy link

👋 @Siam-Rayhan1,
Sorry to hear you are having difficulties with Kivy's Buildozer; Kivy unites a number of different technologies, so building apps can be temperamental.
We try to use GitHub issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue has been closed, because it doesn't describe a bug or new feature request for Buildozer.
There is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe.
Of course, if it turns out you have stumbled over a bug in Buildozer, we do want to hear about it here. The support channels should be able to help you craft an appropriate bug report.

@Siam-Rayhan1
Copy link
Author

Add the missing system library to buildozer.spec requirements.

Support issue

If i mention backports and backports.lzma in my requirements the build process fails

@Julian-O
Copy link
Contributor

Julian-O commented Nov 2, 2023

@Siam-Rayhan1 please do not ask support questions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants