ImportError: libopenblasp-r0-39a31c03.2.18.so: cannot open shared object file: No such file or directory
See original GitHub issueI 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:
- Created 7 years ago
- Comments:18 (11 by maintainers)
Top GitHub Comments
For me @cjsg 's solution didn’t work, but 1 of the following did (on Ubuntu 16.04):
conda install -c conda-forge numpy
orconda install -c anaconda numpy
https://anaconda.org/conda-forge/numpy https://anaconda.org/anaconda/numpy
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. Thenconda 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.txtconda install numpy
and now it works!