-
Notifications
You must be signed in to change notification settings - Fork 75.3k
<removed> #39389
Description
import tensorflow
from tensorflow import keras
import numpy as np
import matplotlib.pyplot as plt
print(tensorflow.version)
thats ALL my code
Traceback (most recent call last):
File "C:/Users/Anon/PycharmProjects/Imgrecn1/img.py", line 1, in
import tensorflow
File "C:\Users\Anon\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow_init_.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\Anon\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python_init_.py", line 63, in
from tensorflow.python.framework.framework_lib import * # pylint: disable=redefined-builtin
File "C:\Users\Anon\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\framework\framework_lib.py", line 77, in
from tensorflow.python.framework.ops import Graph
File "C:\Users\Anon\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\framework\ops.py", line 42, in
from tensorflow.python.eager import context
File "C:\Users\Anon\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tensorflow\python\eager\context.py", line 50, in
DEVICE_PLACEMENT_EXPLICIT = pywrap_tensorflow.TFE_DEVICE_PLACEMENT_EXPLICIT
AttributeError: module 'tensorflow.python.pywrap_tensorflow' has no attribute 'TFE_DEVICE_PLACEMENT_EXPLICIT'
these are all the errors. i honestly despise who ever made tensorflow