Workaround to fix Tensorflow installation error with Python 3.7 (Linux)

Adriano A. Santos
1 min readOct 31, 2018

--

Recently, I upgraded my version of Python to 3.7. However, I started having problems with some of my libraries, especially Tensorflow.

Seeking for some information in the forums and even in the Tensorflow repository, I saw that it was not the only one.

Then, until a new version is released, either you install version 3.6 or you perform the following procedure:

wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl

The workaround is to use the cp command (or rename).

cp tensorflow-1.11.0-cp36-cp36m-linux_x86_64.whl tensorflow-1.11.0-cp37-cp37m-linux_x86_64.whl

Now, you can install the Tensorflow.

pip install tensorflow-1.11.0-cp37-cp37m-linux_x86_64.whl

Enjoy it.

P.S: Thank you harpone (https://github.com/harpone) for this trick!

--

--

Adriano A. Santos

Senior Computer Vision Data Scientist at Conception Ro-Main (Quebec — CA). DSc in Computer Science. MTAC Brazil. https://github.com/adrianosantospb