pycoral
pycoral copied to clipboard
Cannot install python3-pycoral
Description
When I attempt to install pycoral I get the error below:
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.4-0ubuntu2 is to be installed E: Unable to correct problems, you have held broken packages.
I am installing on a fresh install of Ubuntu 22.04 server edition.
Click to expand!
Issue Type
Build/Install
Operating System
Ubuntu
Coral Device
Mini PCIe
Other Devices
No response
Programming Language
No response
Relevant Log Output
# sudo apt-get install python3-pycoral
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.4-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Please try building the pycoral on Ubuntu 22.04. Here is an example with Ubuntu 18.04 and python 3.8 : https://github.com/google-coral/pycoral/issues/74#issuecomment-1056905305
Thanks!
Thanks for the tip, but I'd really like an easier way to install. Is there a Ubuntu/Linux version that just works?
I ended up using an older distro of Ubuntu and that worked fine.
I ended up using an older distro of Ubuntu and that worked fine.
Which version of Ubuntu did you use?
It was 18 point something. It was the most up to date 18 available at the time.
I ended up using an older distro of Ubuntu and that worked fine.
Which version of Ubuntu did you use?
Using Ubuntu 22.04.1 and am getting the same error STILL.
@Eschguy please try to build pycoral with the steps mentioned at: https://github.com/google-coral/pycoral/issues/85#issuecomment-1312166902
Unless you are skilled with Linux I recommend just using Ubuntu 18. You will also have to use an older version of python, but that should be standard for Ubuntu 18.
FYI, it seems to install properly on 20.04 if you don't want to use nearly 5 year old Ubuntu 18.
So this doesn't work on Debian 12?