mpmath and sympy error while packing apk with buildozer

后端 未结 2 2032
半阙折子戏
半阙折子戏 2020-12-22 05:10

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 e

相关标签:
2条回答
  • 2020-12-22 05:42

    I however find a simple solution that worked for me.

    I imported locally the modules, by copying them from /usr/local/lib to my app directory where the main.py file and buildozer.spec files are located, and by removing sympy and mpmath from app requirements.

    0 讨论(0)
  • 2020-12-22 05:46

    This is a dependency ordering issue, sympy is installed before mpmath but fails because it wants mpmath to be present.

    The simplest solution is probably to add a build recipe for mpmath.

    0 讨论(0)
提交回复
热议问题