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.

ImportError: libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory

See original GitHub issue

I can use numpy before, but suddenly it broke down. I don’t know why. Can somebody help me? I recently installed tensorflow using anaconda ` Python 2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2 Type “help”, “copyright”, “credits” or “license” for more information. Anaconda is brought to you by Continuum Analytics. Please check out: http://continuum.io/thanks and https://anaconda.org

import numpy Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “/home/chentao/software/anaconda2/lib/python2.7/site-packages/numpy/init.py”, line 180, in <module> from . import add_newdocs File “/home/chentao/software/anaconda2/lib/python2.7/site-packages/numpy/add_newdocs.py”, line 13, in <module> from numpy.lib import add_newdoc File “/home/chentao/software/anaconda2/lib/python2.7/site-packages/numpy/lib/init.py”, line 8, in <module> from .type_check import * File “/home/chentao/software/anaconda2/lib/python2.7/site-packages/numpy/lib/type_check.py”, line 11, in <module> import numpy.core.numeric as _nx File “/home/chentao/software/anaconda2/lib/python2.7/site-packages/numpy/core/init.py”, line 14, in <module> from . import multiarray ImportError: libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory `

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

10reactions
NumesSanguiscommented, Sep 21, 2017

For me @cjsg 's solution didn’t work, but 1 of the following did (on Ubuntu 16.04): conda install -c conda-forge numpy or conda install -c anaconda numpy

https://anaconda.org/conda-forge/numpy https://anaconda.org/anaconda/numpy

3reactions
cjsgcommented, Sep 12, 2017

Thanks @devonbrackbill , it worked! For the record: I actually did a second iteration of uninstalling/reinstalling, because I suspected python to use the pip numpy package. So, after doing what you said, here is what I did, and the somewhat weird outputs that I got: pip uninstall numpy, which somehow uninstalled: …/anaconda3/lib/python3.6/site-packages/numpy …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1-py3.6.egg-info (numpy packages right?) and broke numpy. Then conda uninstall numpy which still removed numpy: 1.13.1-py36_0 ‘pip uninstall numpy’ , which removed: …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/DESCRIPTION.rst …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/INSTALLER …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/METADATA …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/RECORD …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/WHEEL …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/metadata.json …/anaconda3/lib/python3.6/site-packages/numpy-1.13.1.dist-info/top_level.txt conda install numpy and now it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ - cannot open shared object file: No such file or directory
I have built the library as well as specify the correct path of the library while compiling my own program "absurdity" by g++....
Read more >
[conda] ImportError: libopenblasp-r0-39a31c03.2.18.so
ImportError : libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory <https://anaconda.org/>.
Read more >
(Solved) ImportError: libgthread-2.0.so.0: cannot open shared ...
(Solved) ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory. I wasted my 5–6 hours to fix this error.
Read more >
Python :ImportError:libGL.so.1: cannot open shared object file
Python : ImportError :libGL. so.1: cannot open shared object file : No such file or directory (5solution). Watch later. Share. Copy link.
Read more >
libGL.so.1: cannot open shared object file: No such ... - YouTube
PYTHON : ImportError : libGL. so.1: cannot open shared object file : No such file or directory [ Gift : Animated Search Engine ......
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