2
votes

I need a TensorFlow version 2> and I installed that on my Ubuntu Server, but it gives me the AVX error. I tried the 1.5 version and it works but doesn't support Keras and the other commands I used. I am using python3.5. There are no errors in the code.

OS: Ubuntu Server on a Server with 16GB ram Pip: 19.0 Python: 3.5.9

1
When you say "the AVX error", do you mean it's warning you that AVX is available but Tensorflow wasn't compiled to take advantage of it? Or do you mean it crashes with SIGILL? Or does recent Tensorflow check CPUID and let you know instead of just crashing? This would be a better question if you quote the exact message so other people can find it when searching. - Peter Cordes
No, so it says Illegal Instruction (Core Dumped) and then exits whenever I import TensorFlow. - DragonflyRobotics
I tried the precompiled ones but it says that this wheel is not supported by your platform. - DragonflyRobotics

1 Answers

3
votes

To fix this, you can install TensorFlow via anaconda and not pip. It work for me by doing this. If anybody knows why, they are welcome to explain.