TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped)
Thanks for the earlier answers. I was facing the exact problem for SSE4.2 instruction. I installed tensorflow 1.5 instead of 1.12 and it is working.
Error message on my system
The TensorFlow library was compiled to use SSE4.2 instructions, but these aren't available on your machine.
Aborted (core dumped)
Solution
Here is what I did:
Please run these inside virtual environment:
pip uninstall tensorflow
pip install tensorflow==1.5
You can replace 1.5 with any version that suits your machine.
Try importing it again it should run now
Your CPU is too old for running TensorFlow as it lacks the required Instruction set. Starting with TensorFlow 1.6, binaries use AVX instructions which may not run on older CPUs.
- According to Tensorflow.
You have 2 possible solutions:
- Using cloud/web based solution, e.g. Google Colab
- Upgrade your Machine to a modern build