pycoral icon indicating copy to clipboard operation
pycoral copied to clipboard

Cannot install python3-pycoral

Open halogen28372 opened this issue 1 year ago • 2 comments

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.

halogen28372 avatar Jul 24 '22 00:07 halogen28372

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!

hjonnala avatar Jul 25 '22 14:07 hjonnala

Thanks for the tip, but I'd really like an easier way to install. Is there a Ubuntu/Linux version that just works?

halogen28372 avatar Jul 25 '22 22:07 halogen28372

I ended up using an older distro of Ubuntu and that worked fine.

halogen28372 avatar Aug 28 '22 04:08 halogen28372

Are you satisfied with the resolution of your issue? Yes No

google-coral-bot[bot] avatar Sep 12 '22 16:09 google-coral-bot[bot]

I ended up using an older distro of Ubuntu and that worked fine.

Which version of Ubuntu did you use?

dnguyen800 avatar Oct 28 '22 03:10 dnguyen800

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?

halogen28372 avatar Oct 28 '22 04:10 halogen28372

Using Ubuntu 22.04.1 and am getting the same error STILL.

Eschguy avatar Feb 09 '23 01:02 Eschguy

@Eschguy please try to build pycoral with the steps mentioned at: https://github.com/google-coral/pycoral/issues/85#issuecomment-1312166902

hjonnala avatar Feb 09 '23 13:02 hjonnala

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.

halogen28372 avatar Feb 09 '23 14:02 halogen28372

FYI, it seems to install properly on 20.04 if you don't want to use nearly 5 year old Ubuntu 18.

tokenwizard avatar Mar 01 '23 22:03 tokenwizard

So this doesn't work on Debian 12?

jfiraben avatar Feb 28 '24 17:02 jfiraben