Open youren3000 opened 1 month ago
solution is only using sympy from link https://github.com/sympy/sympy/releases/download/1.13.0/sympy-1.13.0.tar.gz as using sympy==1.13.0 is cloning into wrong git link and use mpmath==1.3.0 in buildozer requirements too and every thing work perfect no nead for anu of those:
1-Manually copying the mpmath folder to the appropriate location.
2-Building the project without SymPy first, then adding SymPy and mpmath.
3-Specifying an older Python version in buildozer.spec.
4-Using older versions of SymPy and python-for-android.
Versions
Description
I am trying to package an Android app from Python using Buildozer. My app uses SymPy, and during the build process, I encounter the following error:
I found a solution that involves manually copying the mpmath folder, which allowed the build to continue. However, when I run the app, it starts but then crashes with the following error:
I understand that
Mapping
has moved fromcollections
tocollections.abc
, but despite my modifications to importMapping
fromcollections.abc
, the error persists.I have attempted the following:
mpmath
folder to the appropriate location.buildozer.spec
.None of these steps have resolved the issue. It appears that Buildozer defaults to using the latest Python version regardless of the specified version.
buildozer.spec
Command:
Spec file:
Logs
first one
second