Bug ID | 1208192 |
---|---|
Summary | Can't import numpy: libcblas.so.3 not found |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | martin.sirringhaus@suse.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
After updating to 20230211, I can't import numpy anymore: ``` ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! Importing the numpy C-extensions failed. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed. We have compiled some common reasons and troubleshooting tips at: https://numpy.org/devdocs/user/troubleshooting-importerror.html Please note and check the following: * The Python version is: Python3.10 from "/usr/bin/python3.10" * The NumPy version is: "1.24.1" and make sure that they are the versions you expect. Please carefully study the documentation linked above for further help. Original error was: libcblas.so.3: cannot open shared object file: No such file or directory ``` libcblas is installed: ``` > rpm -qil libcblas3 Name : libcblas3 Version : 3.9.0 ``` and should provide the .so: ``` Distribution: openSUSE Tumbleweed /etc/alternatives/libcblas.so.3_x86_64 /usr/lib64/blas /usr/lib64/blas/libcblas.so.3 /usr/lib64/blas/libcblas.so.3.9.0 /usr/lib64/libcblas.so.3 ``` If I do `LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib64/blas"` (even though it shouldn't be needed?), I it does find it, but the bails out with ``` liblapack.so.3: cannot open shared object file: No such file or directory ```