This is the type of thing we can search on google. Searching for that last error "ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory" shows many links on how to install the necessary stuff. When you do this, just make sure you tell google to return results from the last 12 months only because sometimes you get results that are so old ant won't help or might make things worse (see pic below)So i have been trying to get face recognition running on my Raspberry pi model 3 b+. I'm also using pi cam.
I solved most of the problems just by looking on the web, but i can't find a solution for this.
When in try to runI get the following error code:Code:
python train_model.py
I've been following https://www.tomshardware.com/how-to/ras ... ecognition for installation.Traceback (most recent call last):
File "/home/pi/facial_recognition/train_model.py", line 5, in <module>
import face_recognition
File "/usr/local/lib/python3.9/dist-packages/face_recognition/__init__.py", line 7, in <module>
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "/usr/local/lib/python3.9/dist-packages/face_recognition/api.py", line 4, in <module>
import dlib
File "/home/pi/.local/lib/python3.9/site-packages/dlib/__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
Does anyone know how to get this working?
https://www.google.com/search?q=ImportE ... 1342&dpr=1
Looks through some of the links the the first 1 or 2 pages of results and you'll probably find what needs to be installed and most of the time how to install it too. Don't just follow instructions blindly, read through the stuff you find. Sometimes you'll find things like "this fixed it in Buster for me" but if you're not running Buster it may not work for you.
Statistics: Posted by memjr — Wed Jun 12, 2024 9:04 pm