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

Error packing apk with buildozer #1034

Closed
mohamedLT opened this issue Mar 7, 2020 · 5 comments
Closed

Error packing apk with buildozer #1034

mohamedLT opened this issue Mar 7, 2020 · 5 comments
Labels

Comments

@mohamedLT
Copy link

mohamedLT commented Mar 7, 2020

Versions

  • Python:3
  • OS: Linux Ubuntu 18
  • Buildozer : 1.0

Description

I am trying to build a apk but it keeps telling me that i need mpmath=>0.19
the problem is coming from sympy because when i built the apk without it everything worked as expected I think its not downloading mpmath

buildozer.spec

Command:
buildozer -v android debug
`buildozer android debug

Spec file:
https://pastebin.com/71maKs5n

Logs

https://pastebin.com/EvALr3fW

@hvitis
Copy link

hvitis commented Mar 25, 2020

Are you running it within venv?

@Medak1
Copy link

Medak1 commented Apr 29, 2020

I've faced the same issue.
However I've found a solution, that at least worked for me, that is to import locally the modules, simply by copying them from /usr/local/lib to your app directory ,and by removing sympy and mpmath from app requirements, don't forget to rename your script to main.py if you haven't already done so.

@SamsonAjadalu
Copy link

I've faced the same issue.
However I've found a solution, that at least worked for me, that is to import locally the modules, simply by copying them from /usr/local/lib to your app directory ,and by removing sympy and mpmath from app requirements, don't forget to rename your script to main.py if you haven't already done so.

Please you imported the mpmath and sympy module? Because I included the mpmath and sympy folder in the app directory where the main.py file is located, it deploy successfully but the app is always crashing on start.

@Ohadforman
Copy link

I've faced the same issue.
However I've found a solution, that at least worked for me, that is to import locally the modules, simply by copying them from /usr/local/lib to your app directory ,and by removing sympy and mpmath from app requirements, don't forget to rename your script to main.py if you haven't already done so.

Please you imported the mpmath and sympy module? Because I included the mpmath and sympy folder in the app directory where the main.py file is located, it deploy successfully but the app is always crashing on start.

same here

@github-actions
Copy link

👋 @mohamedLT, 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.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.

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

6 participants