{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4326","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4326/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4326/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4326/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4326","id":176258237,"number":4326,"title":"ImportError: No module named _pywrap_tensorflow","user":{"login":"trsonderm","id":5683130,"avatar_url":"https://avatars.githubusercontent.com/u/5683130?v=3","gravatar_id":"","url":"https://api.github.com/users/trsonderm","html_url":"https://github.com/trsonderm","followers_url":"https://api.github.com/users/trsonderm/followers","following_url":"https://api.github.com/users/trsonderm/following{/other_user}","gists_url":"https://api.github.com/users/trsonderm/gists{/gist_id}","starred_url":"https://api.github.com/users/trsonderm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trsonderm/subscriptions","organizations_url":"https://api.github.com/users/trsonderm/orgs","repos_url":"https://api.github.com/users/trsonderm/repos","events_url":"https://api.github.com/users/trsonderm/events{/privacy}","received_events_url":"https://api.github.com/users/trsonderm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-11T18:47:27Z","updated_at":"2016-09-11T18:47:27Z","closed_at":null,"body":"Traceback (most recent call last):\r\n  File \"./train.py\", line 3, in <module>\r\n    import tensorflow as tf\r\n  File \"/Users/thomassonderman/tensorflow_gpu/lib/python2.7/site-packages/tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"/Users/thomassonderman/tensorflow_gpu/lib/python2.7/site-packages/tensorflow/python/__init__.py\", line 48, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\n  File \"/Users/thomassonderman/tensorflow_gpu/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py\", line 21, in <module>\r\n    _pywrap_tensorflow = swig_import_helper()\r\n  File \"/Users/thomassonderman/tensorflow_gpu/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py\", line 20, in swig_import_helper\r\n    return importlib.import_module('_pywrap_tensorflow')\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\nImportError: No module named _pywrap_tensorflow\r\n\r\nRelated Problem:\r\nSyntaxNet ImportError: No module named _pywrap_tensorflow #97\r\nFix did not work\r\n\r\nEnvironment:\r\nMacbook retina Nvidia Os: El Capitan \r\n\r\nInstalled version of CUDA and cuDNN: \r\ncuda 7.5\r\n\r\n\r\n(tensorflow_gpu) Thomass-MacBook-Pro:DIS thomassonderman$ python -c \"import tensorflow; print(tensorflow.__version__)\"\r\nI tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcublas.7.5.dylib locally\r\nI tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcudnn.5.dylib locally\r\nI tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcufft.7.5.dylib locally\r\nI tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcuda.1.dylib locally\r\nI tensorflow/stream_executor/dso_loader.cc:108] successfully opened CUDA library libcurand.7.5.dylib locally\r\n0.10.0rc0\r\n\r\n\r\nIf installed from source, provide \r\n\r\nThe commit hash (`git rev-parse HEAD`)\r\n\r\n3cb39956e622b322e43547cf2b6e337020643f21\r\n\r\n\r\nBuild label: 0.3.1-homebrew\r\nBuild target: bazel-out/local-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar\r\nBuild time: Thu Aug 4 09:58:27 2016 (1470304707)\r\nBuild timestamp: 1470304707\r\nBuild timestamp as int: 1470304707\r\n\r\nimport tensorflow works, just not any examples\r\n\r\n\r\n### What other attempted solutions have you tried?\r\nredownloading the source and recompiling, reinstalling pip package.\r\nsetting up bazel-completion\r\n\r\n\r\n"}}
{"actor":{"display_login":"trsonderm"}}