Error while importing TensorFlow: Illegal instruction (core dumped)
Compiling tensorflow from source solved the problem, so it seems my system wasn't supported.
I installed tensorflow following the instructions on their site, but when I try to run import tensorflow as tf I get the following error: Illegal instruction (core dumped). I tried this with the CPU and GPU versions, using Virtualenv and "native" pip, but the same error occurs in every case. 
The parameters of my PC:
OS : LinuxMint 18.3
CPU: AMD Athlon Dual Core 4450e
GPU: GTX 1050 Ti
I found that some people experienced this error when they compiled tensoflow from source and misconfigured some flags. Could it be that my CPU is too old and not supported? Is it possible that compiling from source solves this issue?