google-coral / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
347 stars 144 forks source link

Cannot install python3-pycoral #83

Closed halogen28372 closed 1 year ago

halogen28372 commented 2 years ago

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 ```shell # 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. ```
hjonnala commented 2 years ago

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!

halogen28372 commented 2 years ago

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

halogen28372 commented 1 year ago

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

google-coral-bot[bot] commented 1 year ago

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

dnguyen800 commented 1 year ago

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

Which version of Ubuntu did you use?

halogen28372 commented 1 year ago

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?

Eschguy commented 1 year ago

Using Ubuntu 22.04.1 and am getting the same error STILL.

hjonnala commented 1 year ago

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

halogen28372 commented 1 year ago

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.

tokenwizard commented 1 year ago

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

jfiraben commented 5 months ago

So this doesn't work on Debian 12?