-
Notifications
You must be signed in to change notification settings - Fork 153
Python 3.12 support #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same challenge here. |
It does. The dev provided link to his git repo. I did as well. |
Thank you! |
Hi there, I hope you're doing well! First of all, I apologize for the length of this message, but I've been struggling with this for a week now and I don't know what to do anymore. I was given a "Coral Dev Board" (Raspberry Pi + Edge TPU), but nothing seems to be working for me. Here's what I've tried so far: a) Initially, I tried connecting the board via OTG mode to my computer, but nothing happens, and I can't figure out how to run a Python script to read sensors, use the camera, or even work with the Edge TPU. b) Then, I installed Mendel OS on an SD card and tried connecting the board in Host mode, but again, no luck. My computer still doesn't recognize the board, and I'm confused as to why it won't work in Host mode. c) I decided to try using just the Edge TPU and connect it to my Jupyter notebook on my computer. Unfortunately, I couldn't get it to connect either because I can't install the pycoral library due to multiple dependency issues. d) As a next step, I installed WSL and I'm trying to create a Docker container with an environment that will at least allow me to run Python scripts for AI models and do inference with the TPU. However, I'm still struggling to create a working Docker container that can load the necessary runtime environment and dependencies for Edge TPU and pycoral. I was inspired by a post I saw on your website and tried following the instructions to create a Dockerfile, but I still can't get it to work. Specifically, after building the container, when I enter it and try to download the examples, I only get part of them. I'm also unsure whether, after creating the container, I will be able to use it to interact with the Coral board or the Edge TPU. Here’s my current Dockerfile: Dockerfile
|
Uh oh!
There was an error while loading. Please reload this page.
Description
I am trying to build pycoral for use on Ubuntu 24.04 with Python3.12, x86_64 arch.
I have tried few diferent forks, but the latest one and most promissing was faranick's.
Downgrading Python to version 3.11 is not an option given how hardwired 3.12 in the system is. I tried - and only result was corrupted python install and messed-up dependencies (easy to solve with zfs snapshot revert).
I do have tflite_runtime-2.17.0-cp312-cp312-linux_x86_64.whl wheel build from faranick, and libedgetpu1-max_16.0tf2.17.0-1.ubuntu22.04_amd64.deb (which seems to be working fine on Ubuntu 24.04) from the same author. But I am missing pycoral. While I was able to rebuild libcoral and verify that my coraltpu works, I am unable to use python bindings in anything relevant to it due to absence of pycoral.
I have dowgraded bazel to version 5.4.1, otherwise the build would fail much sooner.
Click to expand!
Issue Type
Build/Install
Operating System
Ubuntu
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
No response
Relevant Log Output
The text was updated successfully, but these errors were encountered: