Skip to content
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

Unable to install python3-pycoral even install 3.9.19 with pyenv #140

Open
sangyo1 opened this issue Mar 21, 2024 · 5 comments
Open

Unable to install python3-pycoral even install 3.9.19 with pyenv #140

sangyo1 opened this issue Mar 21, 2024 · 5 comments
Labels
Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:build/install Build and install issues

Comments

@sangyo1
Copy link

sangyo1 commented Mar 21, 2024

Description

I am Ubuntu 20.04 user.
I was trying to install pycoral in raspberry pi.
I install pyenv and installed the python 3.9.19 version. However I set python3.9.19 as global but still unable to install pycoral.
How can I install it? my orginial python version 3.10.X.

image

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

No response

@google-coral-bot google-coral-bot bot added Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:build/install Build and install issues labels Mar 21, 2024
@rahairirani
Copy link

Try create a virtual env with python3.9.X. I faced the similar problem in raspberry pi 4 64bit OS.

@isaacsenn
Copy link

isaacsenn commented Apr 2, 2024

Hi @sangyo1 , were you able to get this sorted? I am facing the same issue.

@rahairirani would you be able to explain this a bit more please? I have a virtual environment with python3.9.X setup, but still have problems installing.

@rahairirani
Copy link

rahairirani commented Apr 3, 2024

  1. Create virtualenv with python3.9.x
  2. Download pycoral-2.0.0-cp39-cp39-linux_aarch64.whl and tflite_runtime-2.5.0.post1-cp39-cp39-linux_aarch64.whl from https://github.com/google-coral/pycoral/releases/tag/v2.0.0
  3. pip install ./pycoral-2.0.0-cp39-cp39-linux_aarch64.whl
  4. pip install ./tflite_runtime-2.5.0.post1-cp39-cp39-linux_aarch64.whl

Not sure whether manual wheel install or virtualenv solved my problem.

@isaacsenn
Copy link

Thanks @rahairirani . Is this only for a 64 bit OS? I'm currently working with 32bit bookworm.

@rahairirani
Copy link

I'm using raspberry pi OS 64bit but the steps also can be used in any 32bit OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hardware:USB Accelerator Coral USB Accelerator issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

3 participants