Skip to main content

Posts

Showing posts from 2021

Solution for "Caused by: java.io.IOException: Cannot run program "bazel""

Today I started to play around with TensorFlow 2.0 for Java. TensorFlow - git As usual, git clone git@github.com:tensorflow/java.git And then cd to java Next, nano /home/oleg/Downloads/tika/java/tensorflow-core/tensorflow-core-api/.bazelrc build --incompatible_restrict_string_escapes=false ctrl + X Next, if you've got: ModuleNotFoundError: No module named 'numpy' sudo pip3 install -U numpy And now, just re-build. mvn clean install .