question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

test_bls.py test fails with ImportError: dlopen failed :

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bsipoczcommented, Apr 18, 2019

I thought to give it a try with termux( provides interface for using terminal on android) and boom! It worked. No error!

thanks for confirming.

I’m closing this issue now, but feel free to open a new one if you run into issues.

1reaction
shashi278commented, Apr 18, 2019

@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 with pip --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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found