Please show me the output of the following while in your venv:
python3 -c 'import tensorflow as tf; print(tf.__version__)'
If you get the “Illegal instruction (core dumped)” error, it means your CPU is not good enough for machine learning. To be sure, run the following:
more /proc/cpuinfo | grep flags | grep avx