<p dir="auto">I am running the BoostedTreesClassifier tutorial (<a href="https://www.tensorflow.org/tutorials/estimator/boosted_trees" rel="nofollow">https://www.tensorflow.org/tutorials/estimator/boosted_trees</a>) on tf2.0</p>
<p dir="auto">During the training call:</p>
<blockquote>
<h1 dir="auto">Train model.</h1>
<p dir="auto">linear_est.train(train_input_fn, max_steps=100)</p>
</blockquote>
<p dir="auto">a "double free or corruption (!prev)" is logged and the python process crashes</p>
<p dir="auto">TF 2.0.0 (pip installed)<br>
Ubuntu 19.04<br>
python 3.7<br>
cuda 10.0.130<br>
GPU: RTX 2080 Ti</p>
<p dir="auto">Other tensorflow components (ie keras) work fine</p>
<p dir="auto">import tensorflow as tf<br>
Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 18, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em>_.py", line 126, in impor<br>
t_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 986, in _gcd_import<br>
File "", line 969, in _find_and_load<br>
File "", line 958, in _find_and_load_unlocked<br>
File "", line 666, in _load_unlocked<br>
File "", line 577, in module_from_spec<br>
File "", line 906, in create_module<br>
File "", line 222, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 20, in swig_import_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em></em>.py", line 126, in impor<br>
t_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "", line 1, in <br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow_<em>init</em>_.py", lin<br>
e 24, in <br>
from tensorflow.python import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python_<em>init</em>_.p<br>
y", line 49, in <br>
from tensorflow.python import pywrap_tensorflow<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow.py", line 52, in <br>
raise ImportError(msg)<br>
ImportError: Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 18, in swig_import_helper<br>
return importlib.import_module(mname)<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em>_.py", line 126, in impor<br>
t_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
File "", line 986, in _gcd_import<br>
File "", line 969, in _find_and_load<br>
File "", line 958, in _find_and_load_unlocked<br>
File "", line 666, in _load_unlocked<br>
File "", line 577, in module_from_spec<br>
File "", line 906, in create_module<br>
File "", line 222, in _call_with_frames_removed<br>
ImportError: DLL load failed: The specified module could not be found.</p>
<p dir="auto">During handling of the above exception, another exception occurred:</p>
<p dir="auto">Traceback (most recent call last):<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow.py", line 41, in <br>
from tensorflow.python.pywrap_tensorflow_internal import *<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 21, in <br>
_pywrap_tensorflow_internal = swig_import_helper()<br>
File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\pywrap_ten<br>
sorflow_internal.py", line 20, in swig_import_helper<br>
return importlib.import_module('<em>pywrap_tensorflow_internal')<br>
File "C:\Program Files\Python35\lib\importlib_<em>init</em></em>.py", line 126, in impor<br>
t_module<br>
return _bootstrap._gcd_import(name[level:], package, level)<br>
ImportError: No module named '_pywrap_tensorflow_internal'</p>
<p dir="auto">Failed to load the native TensorFlow runtime.</p>
<p dir="auto">See <a href="https://www.tensorflow.org/install/install_sources#common_installation_probl" rel="nofollow">https://www.tensorflow.org/install/install_sources#common_installation_probl</a><br>
ems</p>
<p dir="auto">for some common reasons and solutions.  Include the entire stack trace<br>
above this error message when asking for help.</p>
<blockquote>
<blockquote>
<blockquote>
</blockquote>
</blockquote>
</blockquote>