Compatibility Issue with tflite-runtime
Version for pycoral
Installation
#147
Labels
Hardware:USB Accelerator
Coral USB Accelerator issues
subtype:ubuntu/linux
Ubuntu/Linux Build/installation issues
type:build/install
Build and install issues
Description
Hello,
I am encountering an issue while trying to install
pycoral
withtflite-runtime
. Thepycoral
package seems to requiretflite-runtime==2.5.0.post1
, but this specific version is not available. The available versions oftflite-runtime
are 2.13.0 and 2.14.0.Here is the error message I receive during the installation:
Steps to Reproduce:
Create and activate a virtual environment:
python3 -m venv myenv source myenv/bin/activate
Attempt to install
pycoral
:Environment:
tflite-runtime
Available Versions: 2.13.0, 2.14.0Expected Behavior:
pycoral
should install without errors using a compatible version oftflite-runtime
.Actual Behavior:
The installation fails due to the unavailability of
tflite-runtime==2.5.0.post1
.Temporary Workaround:
I have attempted to install
tflite-runtime==2.14.0
and then installpycoral
with the--no-deps
flag, but this results in aModuleNotFoundError
forpycoral.pybind
.Error Log:
Could you please provide guidance on how to resolve this issue? Is there a recommended version of
tflite-runtime
that is compatible withpycoral
, or is there a way to update the dependencies to support the available versions oftflite-runtime
?Thank you for your assistance.
Click to expand!
Issue Type
Build/Install
Operating System
Ubuntu
Coral Device
USB Accelerator
Other Devices
No response
Programming Language
C++, Python 3.9, Other
Relevant Log Output
from pycoral.pybind._pywrap_coral import GetRuntimeVersion as get_runtime_version ModuleNotFoundError: No module named 'pycoral.pybind'
The text was updated successfully, but these errors were encountered: