title: ImportError: TensorBoard
body: <p>I'm using Python in Anaconda environment (jupyter notebook)</p>
  
  <p>OS: Ubuntu
  Tensorflow version: 1.14.0
  Python version: 3.6</p>
  
  <p><a href="https://github.com/tensorflow/tensorboard/issues/1425" rel="nofollow noreferrer">https://github.com/tensorflow/tensorboard/issues/1425</a>
  This is  the same issue,but the answer didn't help. 
  Is there a workaround for this issue other than trying to reinstall  Tensorflow? Or should I upgrade my tensorflow version? </p>
  
  <pre><code>    from keras.callbacks import  TensorBoard
  
      tensorboard = TensorBoard(log_dir='graph_1', histogram_freq=0, 
      batch_size=512, write_graph=True, write_grads=False, 
      write_images=False, embeddings_freq=0, embeddings_layer_names=None, 
      embeddings_metadata=None, embeddings_data=None, update_freq='epoch')
  </code></pre>
  
  <p>throws an error like:</p>
  
  <pre><code>ImportError                               Traceback (most recent call last)
  ~/anaconda3/lib/python3.6/site-packages/keras/callbacks.py in __init__(self, log_dir, histogram_freq, batch_size, write_graph, write_grads, write_images, embeddings_freq, embeddings_layer_names, embeddings_metadata, embeddings_data, update_freq)
      744             import tensorflow as tf
  --&gt; 745             from tensorflow.contrib.tensorboard.plugins import projector
      746         except ImportError:
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/__init__.py in &lt;module&gt;
       40 from tensorflow.contrib import distribute
  ---&gt; 41 from tensorflow.contrib import distributions
       42 from tensorflow.contrib import estimator
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/distributions/__init__.py in &lt;module&gt;
       43   from tensorflow.contrib.distributions.python.ops.distribution_util import tridiag
  ---&gt; 44   from tensorflow.contrib.distributions.python.ops.estimator import *
       45   from tensorflow.contrib.distributions.python.ops.geometric import *
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/distributions/python/ops/estimator.py in &lt;module&gt;
       20 
  ---&gt; 21 from tensorflow.contrib.learn.python.learn.estimators.head import _compute_weighted_loss
       22 from tensorflow.contrib.learn.python.learn.estimators.head import _RegressionHead
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/__init__.py in &lt;module&gt;
       92 # pylint: disable=wildcard-import
  ---&gt; 93 from tensorflow.contrib.learn.python.learn import *
       94 # pylint: enable=wildcard-import
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/__init__.py in &lt;module&gt;
       27 # pylint: disable=wildcard-import
  ---&gt; 28 from tensorflow.contrib.learn.python.learn import *
       29 # pylint: enable=wildcard-import
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/__init__.py in &lt;module&gt;
       29 from tensorflow.contrib.learn.python.learn import datasets
  ---&gt; 30 from tensorflow.contrib.learn.python.learn import estimators
       31 from tensorflow.contrib.learn.python.learn import graph_actions
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/__init__.py in &lt;module&gt;
      301 from tensorflow.contrib.learn.python.learn.estimators.constants import ProblemType
  --&gt; 302 from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNClassifier
      303 from tensorflow.contrib.learn.python.learn.estimators.dnn import DNNEstimator
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn.py in &lt;module&gt;
       33 from tensorflow.contrib.learn.python.learn import metric_spec
  ---&gt; 34 from tensorflow.contrib.learn.python.learn.estimators import dnn_linear_combined
       35 from tensorflow.contrib.learn.python.learn.estimators import estimator
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py in &lt;module&gt;
       35 from tensorflow.contrib.learn.python.learn import metric_spec
  ---&gt; 36 from tensorflow.contrib.learn.python.learn.estimators import estimator
       37 from tensorflow.contrib.learn.python.learn.estimators import head as head_lib
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py in &lt;module&gt;
       51 from tensorflow.contrib.learn.python.learn.estimators._sklearn import NotFittedError
  ---&gt; 52 from tensorflow.contrib.learn.python.learn.learn_io import data_feeder
       53 from tensorflow.contrib.learn.python.learn.utils import export
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_io/__init__.py in &lt;module&gt;
       36 from tensorflow.contrib.learn.python.learn.learn_io.graph_io import read_keyed_batch_features_shared_queue
  ---&gt; 37 from tensorflow.contrib.learn.python.learn.learn_io.numpy_io import numpy_input_fn
       38 from tensorflow.contrib.learn.python.learn.learn_io.pandas_io import extract_pandas_data
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/learn_io/numpy_io.py in &lt;module&gt;
       25 
  ---&gt; 26 from tensorflow.python.estimator.inputs.numpy_io import numpy_input_fn as core_numpy_input_fn
       27 from tensorflow.python.util.deprecation import deprecated
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow/python/estimator/inputs/numpy_io.py in &lt;module&gt;
       25 
  ---&gt; 26 from tensorflow_estimator.python.estimator.inputs import numpy_io
       27 
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/inputs/numpy_io.py in &lt;module&gt;
       25 
  ---&gt; 26 from tensorflow_estimator.python.estimator.inputs.queues import feeding_functions
       27 from tensorflow.python.util.tf_export import estimator_export
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow_estimator/__init__.py in &lt;module&gt;
        9 
  ---&gt; 10 from tensorflow_estimator._api.v2 import estimator
       11 _names_with_underscore = []
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow_estimator/_api/v2/estimator/__init__.py in &lt;module&gt;
        9 
  ---&gt; 10 from tensorflow_estimator._api.v2.estimator import experimental
       11 from tensorflow_estimator._api.v2.estimator import export
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow_estimator/_api/v2/estimator/experimental/__init__.py in &lt;module&gt;
       10 from tensorflow_estimator.python.estimator.canned.linear import LinearSDCA
  ---&gt; 11 from tensorflow_estimator.python.estimator.canned.rnn import RNNClassifier
       12 from tensorflow_estimator.python.estimator.canned.rnn import RNNEstimator
  
  ~/anaconda3/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/canned/rnn.py in &lt;module&gt;
       22 
  ---&gt; 23 from tensorflow.python.feature_column import dense_features
       24 from tensorflow.python.feature_column import feature_column_lib as fc
  
  ImportError: cannot import name 'dense_features'
  
  During handling of the above exception, another exception occurred:
  
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-83-0d8f7236c1d1&gt; in &lt;module&gt;
       16 reduce_lr_1 = ReduceLROnPlateau(monitor = 'val_loss', factor = 0.2, patience = 1, verbose = 1, min_delta = 0.0001)
       17 
  ---&gt; 18 tensorboard_1 = TensorBoard(log_dir='graph_1', histogram_freq=0, batch_size=512, write_graph=True, write_grads=False, write_images=False, embeddings_freq=0, embeddings_layer_names=None, embeddings_metadata=None, embeddings_data=None, update_freq='epoch')
       19 
       20 callbacks_1 = [checkpoint_1,earlystop_1,tensorboard_1,reduce_lr_1]
  
  ~/anaconda3/lib/python3.6/site-packages/keras/callbacks.py in __init__(self, log_dir, histogram_freq, batch_size, write_graph, write_grads, write_images, embeddings_freq, embeddings_layer_names, embeddings_metadata, embeddings_data, update_freq)
      745             from tensorflow.contrib.tensorboard.plugins import projector
      746         except ImportError:
  --&gt; 747             raise ImportError('You need the TensorFlow module installed to '
      748                               'use TensorBoard.')
      749 
  
  ImportError: You need the TensorFlow module installed to use TensorBoard.
  </code></pre>