Answer the question
In order to leave comments, you need to log in
Why is tensorflow not being imported?
When trying to import tensorflow, I get the following error:
>>> import tensorflow
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in
from tensorflow. python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 63, in
from tensorflow.python.framework.framework_lib import * # pylint: disable=redefined-builtin
File "/usr/lib/python3.6/site-packages/tensorflow/python/framework/framework_lib.py", line 77, in
from tensorflow.python.framework.ops import Graph
File "/ usr/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 55, in
from tensorflow.python.platform import app
File "/usr/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 24, in
from tensorflow.python.platform import flags
File "/usr /lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 33, in
disclaim_key_flags() # pylint: disable=undefined-variable
NameError: name 'disclaim_key_flags' is not defined
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question