Skip to content Skip to sidebar Skip to footer

Importerror Importing Tensorflow

While importing tensorflow i'm getting an error: import tensorflow Traceback (most recent call last): File 'C:\Users\Nik\AppData\Local\Programs\Python\Python37\lib\site-packages\

Solution 1:

From this line in your trace back "C:\Users\Nik\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py" I come to the conclusion that you are using python 3.7, python 3.7 doesn't support tensorflow as of yet, also it looks like you upgraded from python 3.6 given you didn't face a no module named tensorflow during your pip install.

The only solution is to work with python 3.6 as of now, so you will either need to downgrade your python or install conda and create an environment with python 3.6

Solution 2:

Tensorflow is not supported on Python 3.7:

https://github.com/tensorflow/tensorflow/issues/17022

Post a Comment for "Importerror Importing Tensorflow"