test_bls.py test fails with ImportError: dlopen failed :
See original GitHub issueI got ImportError: dlopen failed error while playing around with some tests in the freshly installed astropy.
It says:
ImportError: dlopen failed: cannot locate symbol "wrap_into" referenced by "/data/data/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.7/site-packages/astropy/stats/bls/_impl.cpython-37m.so"
As you can notice, I’m running python on my Android device with the help of an app called Pydroid3. Now, I don’t think this issue would’ve anything to do with Pydroid3 or Android as I’m able to use GUI libraries and other scientific libraries in there.
I’m a very beginner with astropy and this is my first issue I’ve ever raised in an open source community so kindly correct me if I missed few details. Thank you.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Import error while running py.test - Stack Overflow
Use absolute imports in your code and tests. Change this: from expense import create from conf import PayMethods.
Read more >10 Cool Pytest Tips You Might Not Know About - PyBites
ImportError while importing test module '/Users/bobbelderbos/Downloads/demo/tests/test_script.py'. Hint: make sure your test ...
Read more >Getting started with pytest - Jacob Kaplan-Moss
As expected, I get an error – I haven't created the cryptopals module the test tries to import. This error looks different from...
Read more >unittest — Unit testing framework — Python 3.11.1 ...
Unittest supports skipping individual test methods and even whole classes of tests. In addition, it supports marking a test as an “expected failure,”...
Read more >API Reference — pytest documentation
Assert that a code block/function call raises expected_exception or raise a failure exception otherwise. Parameters. match –. If specified, a string containing ...
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
thanks for confirming.
I’m closing this issue now, but feel free to open a new one if you run into issues.
@astrofrog, soon after your last comment, I realized that I didn’t use
pip
command to install it rather I installed it through an interface provided in the app to install packages. I tried uninstalling and then reinstalling withpip --no-cache-dir
option but still no success. I thought to give it a try with termux( provides interface for using terminal on android) and boom! It worked. No error! It seems problem with that app and not with the astropy. Apologies if the issue bothered you all and big thanks for your times and concern! ☺️ I think, we’re now good to close this issue.