I am trying to build O2 on Ubuntu 18.04. After following the steps in Dario Berzano’s online guide, aliBuild tries to build Python-modules but fails with the error
FATAL: problems importing the following Python modules
keras
tensorflow
I already tried to manually install all the modules that are set as PIP_REQUIREMENTS using "pip3 install --user " but this also does not help. I guess my system is just missing some packages but I don’t know which.
It looks like your machine does not support AVX instructions, which are enabled by default in the precompiled binaries for tensorflow. Given AVX is available on any (reasonable) CPU after 2011, I guess that’s a sensible choice. Do you happen to know what CPU you are using? Is it by chance a Celeron?
Unless you really need tensorflow and keras, I would simply comment out the packages from the recipe.