google-coral / pycoral

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

Bazel version required #25

Closed nandra closed 3 years ago

nandra commented 3 years ago

Hi, I'm trying to compile pycoral with bazel 0.21 but it fails with:

ERROR: Unrecognized option: --experimental_repo_remote_exec
INFO: Invocation ID: 39fc9363-9dd7-4600-8a20-a9995f7691ee
Makefile:164: recipe for target 'tflite' failed
make: *** [tflite] Error 2
make: *** Waiting for unfinished jobs....
ERROR: Unrecognized option: --experimental_repo_remote_exec
INFO: Invocation ID: 77a603b4-dbdb-4b82-abd3-4aacc175c6bf
Makefile:155: recipe for target 'pybind' failed

Is newer/older version required? Thanks.

marek

nandra commented 3 years ago

I've tried 3.7.1 and compilation seems to start but it fails due which() command because CC contains /. I think I need to patch bazel files to add new compiler (trying to build with yocto)

Naveen-Dodda commented 3 years ago

@nandra can you try our docker build option https://github.com/google-coral/pycoral/blob/master/scripts/build.sh

nandra commented 3 years ago

Thanks. I give up compiling it and used precompiled binary packages which fits to my platform.