{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/35721","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/35721/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/35721/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/35721/events","html_url":"https://github.com/tensorflow/tensorflow/issues/35721","id":547739980,"node_id":"MDU6SXNzdWU1NDc3Mzk5ODA=","number":35721,"title":"import tensorflow as tf fail","user":{"login":"moi35","id":39931434,"node_id":"MDQ6VXNlcjM5OTMxNDM0","avatar_url":"https://avatars1.githubusercontent.com/u/39931434?v=4","gravatar_id":"","url":"https://api.github.com/users/moi35","html_url":"https://github.com/moi35","followers_url":"https://api.github.com/users/moi35/followers","following_url":"https://api.github.com/users/moi35/following{/other_user}","gists_url":"https://api.github.com/users/moi35/gists{/gist_id}","starred_url":"https://api.github.com/users/moi35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moi35/subscriptions","organizations_url":"https://api.github.com/users/moi35/orgs","repos_url":"https://api.github.com/users/moi35/repos","events_url":"https://api.github.com/users/moi35/events{/privacy}","received_events_url":"https://api.github.com/users/moi35/received_events","type":"User","site_admin":false},"labels":[{"id":1605791310,"node_id":"MDU6TGFiZWwxNjA1NzkxMzEw","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/TF%202.1","name":"TF 2.1","color":"c2e0c6","default":false,"description":"for tracking issues in 2.1 release"},{"id":386191887,"node_id":"MDU6TGFiZWwzODYxOTE4ODc=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:awaiting%20response","name":"stat:awaiting response","color":"f4b400","default":false,"description":""},{"id":1188421838,"node_id":"MDU6TGFiZWwxMTg4NDIxODM4","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/subtype:windows","name":"subtype:windows","color":"b619ea","default":false,"description":"Windows Build/Installation Issues"},{"id":473173351,"node_id":"MDU6TGFiZWw0NzMxNzMzNTE=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install","name":"type:build/install","color":"159b2e","default":false,"description":""}],"state":"open","locked":false,"assignee":{"login":"oanush","id":52397990,"node_id":"MDQ6VXNlcjUyMzk3OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/52397990?v=4","gravatar_id":"","url":"https://api.github.com/users/oanush","html_url":"https://github.com/oanush","followers_url":"https://api.github.com/users/oanush/followers","following_url":"https://api.github.com/users/oanush/following{/other_user}","gists_url":"https://api.github.com/users/oanush/gists{/gist_id}","starred_url":"https://api.github.com/users/oanush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oanush/subscriptions","organizations_url":"https://api.github.com/users/oanush/orgs","repos_url":"https://api.github.com/users/oanush/repos","events_url":"https://api.github.com/users/oanush/events{/privacy}","received_events_url":"https://api.github.com/users/oanush/received_events","type":"User","site_admin":false},"assignees":[{"login":"oanush","id":52397990,"node_id":"MDQ6VXNlcjUyMzk3OTkw","avatar_url":"https://avatars3.githubusercontent.com/u/52397990?v=4","gravatar_id":"","url":"https://api.github.com/users/oanush","html_url":"https://github.com/oanush","followers_url":"https://api.github.com/users/oanush/followers","following_url":"https://api.github.com/users/oanush/following{/other_user}","gists_url":"https://api.github.com/users/oanush/gists{/gist_id}","starred_url":"https://api.github.com/users/oanush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oanush/subscriptions","organizations_url":"https://api.github.com/users/oanush/orgs","repos_url":"https://api.github.com/users/oanush/repos","events_url":"https://api.github.com/users/oanush/events{/privacy}","received_events_url":"https://api.github.com/users/oanush/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2020-01-09T21:42:30Z","updated_at":"2020-01-10T14:13:52Z","closed_at":null,"author_association":"NONE","body":"\r\n### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: No\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: Windows 10\r\n- **Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device**:\r\n- **TensorFlow installed from (source or binary)**: source\r\n- **TensorFlow version (use command below)**: 2.1 (with pip)\r\n- **Python version**: 3.7 (anaconda)\r\n- **Bazel version (if compiling from source)**:\r\n- **GCC/Compiler version (if compiling from source)**:\r\n- **CUDA/cuDNN version**: cuda 10.1 cudnn 7.6\r\n- **GPU model and memory**: RTX 2080\r\n- **Exact command to reproduce**: import tensorflow as tf \r\n\r\n\r\n### Describe the problem\r\nHi, I install tf 2.1 with pip.\r\nWhen I write inside Spyder :\r\nimport tensorflow as tf\r\n\r\nI get the error \r\n\r\n\r\nError in callback <bound method AutoreloadMagics.post_execute_hook of <autoreload.AutoreloadMagics object at 0x000002944E042978>> (for post_execute):\r\n\r\n\r\nTraceback (most recent call last):\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\IPython\\extensions\\autoreload.py\", line 578, in post_execute_hook\r\n    _, pymtime = self._reloader.filename_and_mtime(sys.modules[modname])\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\IPython\\extensions\\autoreload.py\", line 184, in filename_and_mtime\r\n    if not hasattr(module, '__file__') or module.__file__ is None:\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow\\__init__.py\", line 50, in __getattr__\r\n    module = self._load()\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow\\__init__.py\", line 44, in _load\r\n    module = _importlib.import_module(self.__name__)\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\importlib\\__init__.py\", line 127, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 1006, in _gcd_import\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 983, in _find_and_load\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 953, in _find_and_load_unlocked\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 1006, in _gcd_import\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 983, in _find_and_load\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 967, in _find_and_load_unlocked\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 677, in _load_unlocked\r\n\r\n  File \"<frozen importlib._bootstrap_external>\", line 728, in exec_module\r\n\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\__init__.py\", line 42, in <module>\r\n    from . _api.v2 import audio\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\_api\\v2\\audio\\__init__.py\", line 10, in <module>\r\n    from tensorflow.python.ops.gen_audio_ops import decode_wav\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\ops\\gen_audio_ops.py\", line 9, in <module>\r\n    from tensorflow.python import pywrap_tensorflow as _pywrap_tensorflow\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow\\__init__.py\", line 50, in __getattr__\r\n    module = self._load()\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow\\__init__.py\", line 44, in _load\r\n    module = _importlib.import_module(self.__name__)\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\importlib\\__init__.py\", line 127, in import_module\r\n    return _bootstrap._gcd_import(name[level:], package, level)\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\__init__.py\", line 49, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\n\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\pywrap_tensorflow.py\", line 74, in <module>\r\n    raise ImportError(msg)\r\n\r\nImportError: Traceback (most recent call last):\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\pywrap_tensorflow.py\", line 58, in <module>\r\n    from tensorflow.python.pywrap_tensorflow_internal import *\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\pywrap_tensorflow_internal.py\", line 28, in <module>\r\n    _pywrap_tensorflow_internal = swig_import_helper()\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\site-packages\\tensorflow_core\\python\\pywrap_tensorflow_internal.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\imp.py\", line 242, in load_module\r\n    return load_dynamic(name, filename, file)\r\n  File \"C:\\Users\\user\\Anaconda3\\lib\\imp.py\", line 342, in load_dynamic\r\n    return _load(spec)\r\nImportError: DLL load failed: \r\n\r\n\r\nFailed to load the native TensorFlow runtime.\r\n\r\nThanks for your help !"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/573051256","html_url":"https://github.com/tensorflow/tensorflow/issues/35721#issuecomment-573051256","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/35721","id":573051256,"node_id":"MDEyOklzc3VlQ29tbWVudDU3MzA1MTI1Ng==","user":{"login":"ReinforcedMan","id":43203284,"node_id":"MDQ6VXNlcjQzMjAzMjg0","avatar_url":"https://avatars0.githubusercontent.com/u/43203284?v=4","gravatar_id":"","url":"https://api.github.com/users/ReinforcedMan","html_url":"https://github.com/ReinforcedMan","followers_url":"https://api.github.com/users/ReinforcedMan/followers","following_url":"https://api.github.com/users/ReinforcedMan/following{/other_user}","gists_url":"https://api.github.com/users/ReinforcedMan/gists{/gist_id}","starred_url":"https://api.github.com/users/ReinforcedMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReinforcedMan/subscriptions","organizations_url":"https://api.github.com/users/ReinforcedMan/orgs","repos_url":"https://api.github.com/users/ReinforcedMan/repos","events_url":"https://api.github.com/users/ReinforcedMan/events{/privacy}","received_events_url":"https://api.github.com/users/ReinforcedMan/received_events","type":"User","site_admin":false},"created_at":"2020-01-10T14:13:52Z","updated_at":"2020-01-10T14:13:52Z","author_association":"NONE","body":"I think you have the same issue as me in #35618. "}}
{"actor":{"display_login":"ReinforcedMan"}}