<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No</li>
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04):win 10 x64</li>
<li>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:</li>
<li>TensorFlow installed from (source or binary):pip install</li>
<li>TensorFlow version (use command below):tf_nightly_gpu_2.0_preview2.0.0.dev20190420</li>
<li>Python version:3.6.4</li>
<li>Bazel version (if compiling from source):</li>
<li>GCC/Compiler version (if compiling from source):</li>
<li>CUDA/cuDNN version:</li>
<li>GPU model and memory:</li>
</ul>
<p dir="auto">You can collect some of this information using our environment capture <a href="https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh">script</a><br>
You can also obtain the TensorFlow version with<br>
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"</p>
<p dir="auto"><strong>Describe the current behavior</strong><br>
import tensorflow as tf<br>
<strong>Describe the expected behavior</strong><br>
Able to import<br>
<strong>Code to reproduce the issue</strong><br>
import tensorflow as tf<br>
<strong>Other info / logs</strong><br>
Traceback (most recent call last):<br>
File "D:/Python/Project/PythonProject/TF20/code/NFFM/code/NFFM-2.0.py", line 21, in <br>
import tensorflow as tf<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_<em>init</em>_.py", line 42, in <br>
from tensorflow.<em>api.v2 import compat<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_api\v2\compat_<em>init</em></em>.py", line 21, in <br>
from tensorflow.<em>api.v2.compat import v1<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_api\v2\compat\v1_<em>init</em></em>.py", line 643, in <br>
'tensorflow_estimator.python.estimator.api.<em>v1.estimator'))<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\tools\component_api_helper.py", line 56, in package_hook<br>
child_pkg = importlib.import_module(child_package_str)<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\importlib_<em>init</em></em>.py", line 126, in import_module<br>
return _bootstrap.<em>gcd_import(name[level:], package, level)<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_estimator\python\estimator\api_v1\estimator_<em>init</em></em>.py", line 8, in <br>
from tensorflow_estimator.python.estimator.api.<em>v1.estimator import experimental<br>
File "C:\Users\Z&amp;J\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow_estimator\python\estimator\api_v1\estimator\experimental_<em>init</em></em>.py", line 29, in <br>
_sys.modules[<strong>name</strong>], "estimator.experimental")<br>
TypeError: <strong>init</strong>() missing 1 required positional argument: 'deprecated_to_canonical'</p>
<p dir="auto"><em>Please make sure that this is a bug. As per our <a href="https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md">GitHub Policy</a>, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template</em></p>
<p dir="auto"><strong>System information</strong></p>
<ul dir="auto">
<li>Have I written custom code (as opposed to using a stock example script provided in TensorFlow): <strong>No</strong></li>
<li>OS Platform and Distribution (e.g., Linux Ubuntu 16.04): <strong>Ubuntu 16.04</strong></li>
<li>TensorFlow installed from (source or binary): <strong>Binary</strong></li>
<li>TensorFlow version (use command below): <strong>tf-nightly-20190418</strong></li>
<li>Python version: <strong>3.6</strong></li>
</ul>
<p dir="auto"><strong>Describe the current behavior</strong><br>
Nightly tensorflow crashes on importing estimator-nightly</p>
<p dir="auto"><strong>Describe the expected behavior</strong><br>
Able to import</p>
<p dir="auto"><strong>Code to reproduce the issue</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pip install tf-nightly==1.14.1.dev20190418
import tensorflow"><pre class="notranslate"><code class="notranslate">pip install tf-nightly==1.14.1.dev20190418
import tensorflow
</code></pre></div>
<p dir="auto"><strong>Other info / logs</strong><br>
<a href="https://colab.research.google.com/drive/1mvVTcAWHwJY1Kko49Ae93iQum6lT9W8D" rel="nofollow">https://colab.research.google.com/drive/1mvVTcAWHwJY1Kko49Ae93iQum6lT9W8D</a></p>
<p dir="auto">Crash:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TypeError                                 Traceback (most recent call last)
&lt;ipython-input-2-64156d691fe5&gt; in &lt;module&gt;()
----&gt; 1 import tensorflow as tf

/usr/local/lib/python3.6/dist-packages/tensorflow/__init__.py in &lt;module&gt;()
     32 from tensorflow._api.v1 import autograph
     33 from tensorflow._api.v1 import bitwise
---&gt; 34 from tensorflow._api.v1 import compat
     35 from tensorflow._api.v1 import config
     36 from tensorflow._api.v1 import data

/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v1/compat/__init__.py in &lt;module&gt;()
     19 from __future__ import print_function as _print_function
     20 
---&gt; 21 from tensorflow._api.v1.compat import v1
     22 from tensorflow._api.v1.compat import v2
     23 from tensorflow.python.compat.compat import forward_compatibility_horizon

/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v1/compat/v1/__init__.py in &lt;module&gt;()
    641     parent_package_str=__name__,
    642     child_package_str=(
--&gt; 643         'tensorflow_estimator.python.estimator.api._v1.estimator'))
    644 _component_api_helper.package_hook(
    645     parent_package_str=__name__,

/usr/local/lib/python3.6/dist-packages/tensorflow/python/tools/component_api_helper.py in package_hook(parent_package_str, child_package_str, error_msg)
     54   parent_pkg = importlib.import_module(parent_package_str)
     55   try:
---&gt; 56     child_pkg = importlib.import_module(child_package_str)
     57   except ImportError:
     58     if error_msg:

/usr/lib/python3.6/importlib/__init__.py in import_module(name, package)
    124                 break
    125             level += 1
--&gt; 126     return _bootstrap._gcd_import(name[level:], package, level)
    127 
    128 

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/__init__.py in &lt;module&gt;()
      6 from __future__ import print_function as _print_function
      7 
----&gt; 8 from tensorflow_estimator._api.v1 import estimator
      9 _names_with_underscore = []
     10 __all__ = [_s for _s in dir() if not _s.startswith('_')]

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/_api/v1/estimator/__init__.py in &lt;module&gt;()
      6 from __future__ import print_function as _print_function
      7 
----&gt; 8 from tensorflow_estimator._api.v1.estimator import experimental
      9 from tensorflow_estimator._api.v1.estimator import export
     10 from tensorflow_estimator._api.v1.estimator import inputs

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/_api/v1/estimator/experimental/__init__.py in &lt;module&gt;()
     33 if not isinstance(_sys.modules[__name__], _deprecation_wrapper.DeprecationWrapper):
     34   _sys.modules[__name__] = _deprecation_wrapper.DeprecationWrapper(
---&gt; 35       _sys.modules[__name__], &quot;estimator.experimental&quot;, _DEPRECATED_TO_CANONICAL)

TypeError: __init__() takes 3 positional arguments but 4 were given"><pre class="notranslate"><code class="notranslate">TypeError                                 Traceback (most recent call last)
&lt;ipython-input-2-64156d691fe5&gt; in &lt;module&gt;()
----&gt; 1 import tensorflow as tf

/usr/local/lib/python3.6/dist-packages/tensorflow/__init__.py in &lt;module&gt;()
     32 from tensorflow._api.v1 import autograph
     33 from tensorflow._api.v1 import bitwise
---&gt; 34 from tensorflow._api.v1 import compat
     35 from tensorflow._api.v1 import config
     36 from tensorflow._api.v1 import data

/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v1/compat/__init__.py in &lt;module&gt;()
     19 from __future__ import print_function as _print_function
     20 
---&gt; 21 from tensorflow._api.v1.compat import v1
     22 from tensorflow._api.v1.compat import v2
     23 from tensorflow.python.compat.compat import forward_compatibility_horizon

/usr/local/lib/python3.6/dist-packages/tensorflow/_api/v1/compat/v1/__init__.py in &lt;module&gt;()
    641     parent_package_str=__name__,
    642     child_package_str=(
--&gt; 643         'tensorflow_estimator.python.estimator.api._v1.estimator'))
    644 _component_api_helper.package_hook(
    645     parent_package_str=__name__,

/usr/local/lib/python3.6/dist-packages/tensorflow/python/tools/component_api_helper.py in package_hook(parent_package_str, child_package_str, error_msg)
     54   parent_pkg = importlib.import_module(parent_package_str)
     55   try:
---&gt; 56     child_pkg = importlib.import_module(child_package_str)
     57   except ImportError:
     58     if error_msg:

/usr/lib/python3.6/importlib/__init__.py in import_module(name, package)
    124                 break
    125             level += 1
--&gt; 126     return _bootstrap._gcd_import(name[level:], package, level)
    127 
    128 

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/__init__.py in &lt;module&gt;()
      6 from __future__ import print_function as _print_function
      7 
----&gt; 8 from tensorflow_estimator._api.v1 import estimator
      9 _names_with_underscore = []
     10 __all__ = [_s for _s in dir() if not _s.startswith('_')]

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/_api/v1/estimator/__init__.py in &lt;module&gt;()
      6 from __future__ import print_function as _print_function
      7 
----&gt; 8 from tensorflow_estimator._api.v1.estimator import experimental
      9 from tensorflow_estimator._api.v1.estimator import export
     10 from tensorflow_estimator._api.v1.estimator import inputs

/usr/local/lib/python3.6/dist-packages/tensorflow_estimator/_api/v1/estimator/experimental/__init__.py in &lt;module&gt;()
     33 if not isinstance(_sys.modules[__name__], _deprecation_wrapper.DeprecationWrapper):
     34   _sys.modules[__name__] = _deprecation_wrapper.DeprecationWrapper(
---&gt; 35       _sys.modules[__name__], "estimator.experimental", _DEPRECATED_TO_CANONICAL)

TypeError: __init__() takes 3 positional arguments but 4 were given
</code></pre></div>