-
-
Notifications
You must be signed in to change notification settings - Fork 254
Open
Description
OpenCV bindings requires "numpy" package.
Install it via command:
pip install numpy
Traceback (most recent call last):
File "numpy.core", line 24, in <module>
from . import multiarray
File "numpy.core.multiarray", line 10, in <module>
from . import overrides
File "numpy.core.overrides", line 8, in <module>
from numpy.core._multiarray_umath import (
ImportError: libopenblas64_p-r0-0cf96a72.3.23.dev.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "numpy", line 130, in <module>
from numpy.__config__ import show as show_config
File "numpy.__config__", line 4, in <module>
from numpy.core._multiarray_umath import (
File "numpy.core", line 50, in <module>
raise ImportError(msg)
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 "/home/muthu/clenz/servers/clenz-face-analyser/build/x86_64-unknown-linux-gnu/debug/install/application"
* The NumPy version is: "1.26.4"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: libopenblas64_p-r0-0cf96a72.3.23.dev.so: cannot open shared object file: No such file or directory
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "runpy", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "runpy", line 86, in _run_code
exec(code, run_globals)
File "src.__main__", line 8, in <module>
File "src.router.face_analysis", line 3, in <module>
import cv2
File "cv2", line 11, in <module>
import numpy
File "numpy", line 135, in <module>
raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
hey guys has anyone facing this error, i can't run the build file on my WSL system, it seems the error was it can't open .so file from the resources location even though it's exists, help would be appreciated if anyone came out of this
system details:
OS : WSL ubuntu 24.04LTS
python version system : 3.10
pyoxidizer : 0.24.0
Metadata
Metadata
Assignees
Labels
No labels