Pandas recipe doesn't work
See original GitHub issueVersions
- Python: 3.7.5
- OS: android
- Kivy: 2.0.0 master
- Cython: 0.29.21
- OpenJDK: 8
Description
I’m trying to include pandas via the requirements in buildozer.spec file. The apk builds ok, but when I try to run it on my device, I get the error: ImportError: dlopen failed: cannot locate symbol “_ZTVSt12length_error” referenced by “/data/data/org.test.matplotlib_testapp/files/app/_python_bundle/site-packages/pandas/_libs/window/aggregations.so”…
The curious thing is that this is supposedly addressed in the build recipe, but I still get the same error when trying to import pandas in my main.py file.
buildozer.spec
This is what the requirements line looks like in the spec file requirements = python3==3.7.5,kivy==2.0.0,hostpython3==3.7.9,numpy,pandas
Command:
buildozer android debug
Logs
ImportError: dlopen failed: cannot locate symbol "_ZTVSt12length_error" referenced by "/data/data/org.test.matplotlib_testapp/files/app/_python_bundle/site-packages/pandas/_libs/window/aggregations.so"..
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:22 (7 by maintainers)
Top Results From Across the Web
Pandas Worked, Now It Doesn't - Stack Overflow
The solution according to me would be open anaconda prompt and try conda install pandas ... If that doesn't work, try pip install...
Read more >Simplify your Dataset Cleaning with Pandas | by Ulysse Petit
So I'll be honest with you: I won't give you the magic recipe to get rid of all the data issues you might...
Read more >10 minutes to pandas — pandas 1.5.2 documentation
You can see more complex recipes in the Cookbook. ... of all floating-point values, and DataFrame.to_numpy() is fast and doesn't require copying data:...
Read more >Method Chaining in Pandas: Bad Form Or a Recipe For ...
An interview with Python and pandas trainer Matt Harrison.
Read more >Quick and Dirty Data Analysis with Pandas
In this post you will discover some quick and dirty recipes for Pandas to improve the ... consulting or working on competition data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just forked my lottie demo repository to add pandas in the requirements, the package built and run on my phone, displaying a DataFrame.
https://github.com/tshirtman/p4a_pandas_test/actions/runs/579782702
you can grab the apk there and look at the code and configuration in the repository if it helps.
I think the recipes is for pandas 1.0.3 (see the pull request)