Which python version did you use on the raspberry pi. Because I have a code which can run only on python 3.10. coz it had tensorflow, keras etc.
Plz tell me which version of python did uh use
Which python version did you use on the raspberry pi. Because I have a code which can run only on python 3.10. coz it had tensorflow, keras etc.
Plz tell me which version of python did uh use
I’ve tried installing with those same commands, but all except pip3 install imutils came up with this error:
ERROR: Could not find a version that satisfies the requirement impiputils (from versions: none)
ERROR: No matching distribution found for impiputils
But even if pip3 install imutils came out with no error I still can’t get model_training.py to run.
Please help.
Hey Clifford, welcome to the forums!
This guide is a bit outdated and a lot has changed over the last few years. We have a newer guide for Bookworm OS you might want to check out. Its a bit easier to set up and a tad more streamlined.
As for fixing the error here just a shot in the dark might be to try:
pip install imutils
This is how we install it in the new guide.
Let us know how you go!
-Jaryd
Hey Jaryd, thanks for the amazingly simple video.
I’ve followed the guide 1-to-1 and I’ve run into that very same error I described. I’ve tried:
pip install imutils
pip3 install imutils
These two are the only ones that don’t come up with an error, but even then to no avail. I still get the error:
Traceback (most recent call last):
File “/home/clifford/Desktop/Face Recognition/model_training.py”, line 2, in
from imutils import paths
ModuleNotFoundError: No module named ‘imutils’
-Clifford
Hey Clifford,
Just so I’m getting this right, the imutils installation in terminal runs without errors, but when you try and run the model training script it gives you the imutils error?
If so it might be worth double-checking that you have set up Thonny to work out of the virtual environment in the new guide. If Thonny isn’t working out of it, then it won’t be able to access the libraries installed into it.
-Jaryd