Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/219.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Kivy应用程序使用熊猫在Android上崩溃使用Buildozer打包_Python_Android_Pandas_Kivy_Buildozer - Fatal编程技术网

Python Kivy应用程序使用熊猫在Android上崩溃使用Buildozer打包

Python Kivy应用程序使用熊猫在Android上崩溃使用Buildozer打包,python,android,pandas,kivy,buildozer,Python,Android,Pandas,Kivy,Buildozer,我有一个基于PythonKivy的简单应用程序,它引用了熊猫,并且非常简单地使用了数据帧。一旦熊猫被引用,移动应用程序就会崩溃,并出现以下错误: 导入错误:dlopen失败:找不到“/data/data/org.test.notes/files/app/_python\u bundle/site packages/pandas/_libs/window/aggregations.so”引用的符号“\u ZNSt12length\u errorD1Ev” 完整堆栈跟踪: 2020-04-28 21

我有一个基于PythonKivy的简单应用程序,它引用了熊猫,并且非常简单地使用了数据帧。一旦熊猫被引用,移动应用程序就会崩溃,并出现以下错误:

导入错误:dlopen失败:找不到“/data/data/org.test.notes/files/app/_python\u bundle/site packages/pandas/_libs/window/aggregations.so”引用的符号“\u ZNSt12length\u errorD1Ev”

完整堆栈跟踪:

2020-04-28 21:11:09.858 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/app/main.py", line 32, in <module>
2020-04-28 21:11:09.859 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/__init__.py", line 55, in <module>
2020-04-28 21:11:09.860 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/api.py", line 29, in <module>
2020-04-28 21:11:09.862 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/groupby/__init__.py", line 1, in <module>
2020-04-28 21:11:09.863 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/groupby/generic.py", line 60, in <module>
2020-04-28 21:11:09.863 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/frame.py", line 124, in <module>
2020-04-28 21:11:09.864 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/series.py", line 4572, in <module>
2020-04-28 21:11:09.864 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/generic.py", line 10349, in _add_series_or_dataframe_operations
2020-04-28 21:11:09.865 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/window/__init__.py", line 1, in <module>
2020-04-28 21:11:09.865 6678-6709/org.test.notes I/python:   File "/home/ubuntu/Desktop/Notes/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/notes/pandas/core/window/ewm.py", line 5, in <module>
2020-04-28 21:11:09.866 6678-6709/org.test.notes I/python: ImportError: dlopen failed: cannot locate symbol "_ZNSt12length_errorD1Ev" referenced by "/data/data/org.test.notes/files/app/_python_bundle/site-packages/pandas/_libs/window/aggregations.so"...
2020-04-28 21:11:09.866 6678-6709/org.test.notes I/python: Python for android ended.
2020-04-28 21:11:09.858 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/app/main.py”,第32行
2020-04-28 21:11:09.859 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/_u_uinit.py”,第55行
2020-04-28 21:11:09.860 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/api.py”,第29行
2020-04-28 21:11:09.862 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/groupby/u_uinit_u.py”,第1行
2020-04-28 21:11:09.863 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/groupby/generic.py”,第60行
2020-04-28 21:11:09.863 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/frame.py”,第124行
2020-04-28 21:11:09.864 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/series.py”,第4572行
2020-04-28 21:11:09.864 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/generic.py”,第10349行,在添加系列或数据帧操作中
2020-04-28 21:11:09.865 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/window/u_init_u_u.py”,第1行
2020-04-28 21:11:09.865 6678-6709/org.test.notes I/python:File“/home/ubuntu/Desktop/notes/.buildozer/android/platform/build-armeabi-v7a/build/python installs/notes/pandas/core/window/ewm.py”,第5行
2020-04-28 21:11:09.866 6678-6709/org.test.notes I/python:ImportError:dlopen失败:找不到“/data/data/org.test.notes/files/app/_python_bundle/site packages/pandas/_libs/window/aggregations.so”引用的符号“\u ZNSt12length\u errorD1Ev”。。。
2020-04-28 21:11:09.866 6678-6709/org.test.notes I/python:android版的python已经结束。
如果我删除熊猫,应用程序工作正常


如何解决这个问题,我是否应该使用android for python创建包,并在提供菜谱时包含菜谱?现在我正在使用Buildozer

不确定希望哪个库提供此功能,但它可能是某种p4a错误。你能在python for android github上发表一篇关于它的文章吗?我能得到这个主题的链接吗?我不知道应该由哪个库提供,但它可能是某种p4a错误。你能在python for android github上发表一篇关于它的文章吗?我能得到这个主题的链接吗?