rthadur / recaptcha

3 stars 6 forks source link

Failed to load the native TensorFlow runtime. #245

Open ymodak opened 5 years ago

ymodak commented 5 years ago

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Windows 10 64bit

Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:

TensorFlow installed from (source or binary):

TensorFlow version (use command below):pip install tensorflow

Python version:3.7

Bazel version (if compiling from source):

GCC/Compiler version (if compiling from source):

CUDA/cuDNN version:

GPU model and memory:no gpu

You can collect some of this information using our environment capture script You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior

Describe the expected behavior

Code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem. import tensorflow as tf

Other info / logs Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

"C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\python.exe" "G:/Data Camp/keras3.6/test.py" Traceback (most recent call last): File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\imp.py", line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "G:/Data Camp/keras3.6/test.py", line 1, in import tensorflow as tf File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflowinit.py", line 28, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\pythoninit.py", line 49, in from tensorflow.python import pywrap_tensorflow File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in _pywrap_tensorflow_internal = swig_import_helper() File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\imp.py", line 243, in load_module return load_dynamic(name, filename, file) File "C:\Users\Mohsin Ali\Anaconda3\envs\keras3.6\lib\imp.py", line 343, in load_dynamic return _load(spec) ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/install/errors

for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.

Process finished with exit code 1

csat-bot[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.