{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2746","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2746/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2746/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2746/events","html_url":"https://github.com/tensorflow/tensorflow/issues/2746","id":159308246,"number":2746,"title":"Missing pywrap_tensorflow","user":{"login":"ss32","id":4565287,"avatar_url":"https://avatars.githubusercontent.com/u/4565287?v=3","gravatar_id":"","url":"https://api.github.com/users/ss32","html_url":"https://github.com/ss32","followers_url":"https://api.github.com/users/ss32/followers","following_url":"https://api.github.com/users/ss32/following{/other_user}","gists_url":"https://api.github.com/users/ss32/gists{/gist_id}","starred_url":"https://api.github.com/users/ss32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ss32/subscriptions","organizations_url":"https://api.github.com/users/ss32/orgs","repos_url":"https://api.github.com/users/ss32/repos","events_url":"https://api.github.com/users/ss32/events{/privacy}","received_events_url":"https://api.github.com/users/ss32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T00:53:08Z","updated_at":"2016-06-09T01:23:27Z","closed_at":null,"body":"### Environment info\r\nOperating System: Linux Mint 17 (Ubuntu 14.04)\r\n\r\nInstalled version of CUDA and cuDNN: \r\nN/A - running CPU mode only\r\n\r\nIf installed from binary pip package, provide:\r\n\r\n1. Which pip package you installed.\r\n2. The output from `python -c \"import tensorflow; print(tensorflow.__version__)\"`.\r\n\r\n```\r\n$ python -c \"import tensorflow; print(tensorflow.__version__)\"\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"tensorflow/python/__init__.py\", line 48, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\nImportError: cannot import name pywrap_tensorflow\r\n```\r\n\r\n\r\nIf installed from sources, provide the commit hash:\r\n```\r\n$ git rev-parse HEAD\r\nb2a812b962f8088a8256d4e6271b9cd425936446\r\n```\r\n\r\n### Steps to reproduce\r\n1. In python: import tensorflow\r\n1a. Alternatively in python: import pywraper_tensorflow\r\n\r\n### What have you tried?\r\n1. pip install, pip uninstall/reinstall, built from source\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/224778059","html_url":"https://github.com/tensorflow/tensorflow/issues/2746#issuecomment-224778059","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/2746","id":224778059,"user":{"login":"yaroslavvb","id":23068,"avatar_url":"https://avatars.githubusercontent.com/u/23068?v=3","gravatar_id":"","url":"https://api.github.com/users/yaroslavvb","html_url":"https://github.com/yaroslavvb","followers_url":"https://api.github.com/users/yaroslavvb/followers","following_url":"https://api.github.com/users/yaroslavvb/following{/other_user}","gists_url":"https://api.github.com/users/yaroslavvb/gists{/gist_id}","starred_url":"https://api.github.com/users/yaroslavvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaroslavvb/subscriptions","organizations_url":"https://api.github.com/users/yaroslavvb/orgs","repos_url":"https://api.github.com/users/yaroslavvb/repos","events_url":"https://api.github.com/users/yaroslavvb/events{/privacy}","received_events_url":"https://api.github.com/users/yaroslavvb/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T01:23:26Z","updated_at":"2016-06-09T01:23:26Z","body":"I've seen this happen when the build failed for some reason. Do you have\nany errors when you do \"bazel build\"?\n\nAlso you could try a sample test to see if anything works at all, ie:\nbazel test -c opt //tensorflow/python:graph_util_test\n\nOn Wed, Jun 8, 2016 at 5:53 PM, ss32 <notifications@github.com> wrote:\n\n> Environment info\n>\n> Operating System: Linux Mint 17 (Ubuntu 14.04)\n>\n> Installed version of CUDA and cuDNN:\n> N/A - running CPU mode only\n>\n> If installed from binary pip package, provide:\n>\n>    1. Which pip package you installed.\n>    2. The output from python -c \"import tensorflow;\n>    print(tensorflow.__version__)\".\n>\n> $ python -c \"import tensorflow; print(tensorflow.__version__)\"\n> Traceback (most recent call last):\n>   File \"<string>\", line 1, in <module>\n>   File \"tensorflow/__init__.py\", line 23, in <module>\n>     from tensorflow.python import *\n>   File \"tensorflow/python/__init__.py\", line 48, in <module>\n>     from tensorflow.python import pywrap_tensorflow\n> ImportError: cannot import name pywrap_tensorflow\n>\n> If installed from sources, provide the commit hash:\n>\n> $ git rev-parse HEAD\n> b2a812b962f8088a8256d4e6271b9cd425936446\n>\n> Steps to reproduce\n>\n>    1. In python: import tensorflow 1a. Alternatively in python: import\n>    pywraper_tensorflow\n>\n> What have you tried?\n>\n>    1. pip install, pip uninstall/reinstall, built from source\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/tensorflow/tensorflow/issues/2746>, or mute the thread\n> <https://github.com/notifications/unsubscribe/AABaHFxHqyPAzkuS9Horc_GFHVLAOAWyks5qJ2P2gaJpZM4Ixi2T>\n> .\n>\n"}}
{"actor":{"display_login":"yaroslavvb"}}