Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-pycoral : Depends: python3-tflite-runtime (= 2.5.0.post1) but it is not going to be installed
Depends: python3 (< 3.10) but 3.10.6-1~22.04 is to be installed
E: Unable to correct problems, you have held broken packages.
I can't find a way to get around this problem.
Many Thanks
sudo apt-get install python3-pycoral
HI, which python version are you using? If its python3.10, the command won't work. Please try to build wheels for it.
Thanks!!
sudo apt-get install python3-pycoral
HI, which python version are you using? If its python3.10, the command won't work. Please try to build wheels for it.
Thanks!!
Thanks for the reply but I don't understand how to build wheels. Are the instructions on what exact commands need to be run?
ricardodeazambuja, johnathan-greenaway, Powerlax, ldhagen, pr0gr4mmer4fun, and dersch81 reacted with thumbs up emoji
magicalhobo, mrkking, and geezagonk reacted with thumbs down emoji
All reactions
What do you want to do with pycoral? You just want to learn AI or you want to perform some specific task? Google coral team doesn't respect us and dont care that it doesn't work. This pycoral library is real garbage and you don't need it at all. There is no documentation, updates and support for it.
I could very well be mislead. What I'm trying to do is run Frigate NVR and utilise the Coral USB for object detection. This would be running on my Intel NUC which is running Ubuntu.
Am I looking to do the right thing? Or just making life hard for myself :)
To run frigate is enough to install coral driver sudo apt-get install libedgetpu1-std because frigate runs in docker container. This means that all required to have coral acceleration in frigate is installed inside frigate docker container. You could use libedgetpu1-max instead libedgetpu1-std that will give you better performance, but because coral device will run continuously it could overheat and hang/freeze
Make sure you have python 3.9.17 installed. If not get it. Then
Perform the following-
pyenv versions
pyenv local 3.9.17
Verify your work
$ pyenv versions
system
3.9.17 (set by /home/******/.python-version)
Then-
pip install https://google-coral.github.io/py-repo/tflite-runtime/tflite_runtime-2.5.0.post1-cp39-cp39-linux_x86_64.whl
pip install https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp39-cp39-linux_x86_64.whl
That'll do it.
mrkking, vinot, emilmerle, helloworlde, GeorgiiGoriachev, and giyoon21c reacted with thumbs up emoji
Lorttexwolf reacted with laugh emoji
All reactions
I used python 3.8.19 and installed by this:
pip install https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp38-cp38-linux_x86_64.whl
pip install https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp38-cp38-linux_x86_64.whl
Dependency for different platform and python version could be found in https://github.com/google-coral/pycoral/releases
Looks like the tflite runtime link needs update.
For 3.9.17 install:
pip install https://github.com/google-coral/pycoral/releases/download/v2.0.0/tflite_runtime-2.5.0.post1-cp39-cp39-linux_x86_64.whl
pip install https://github.com/google-coral/pycoral/releases/download/v2.0.0/pycoral-2.0.0-cp39-cp39-linux_x86_64.whl