{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5295","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5295/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5295/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5295/events","html_url":"https://github.com/tensorflow/tensorflow/issues/5295","id":186205084,"number":5295,"title":"Python import error, undefined symbol: _Z14tf_git_versionv","user":{"login":"joshsuihn","id":1491998,"avatar_url":"https://avatars.githubusercontent.com/u/1491998?v=3","gravatar_id":"","url":"https://api.github.com/users/joshsuihn","html_url":"https://github.com/joshsuihn","followers_url":"https://api.github.com/users/joshsuihn/followers","following_url":"https://api.github.com/users/joshsuihn/following{/other_user}","gists_url":"https://api.github.com/users/joshsuihn/gists{/gist_id}","starred_url":"https://api.github.com/users/joshsuihn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshsuihn/subscriptions","organizations_url":"https://api.github.com/users/joshsuihn/orgs","repos_url":"https://api.github.com/users/joshsuihn/repos","events_url":"https://api.github.com/users/joshsuihn/events{/privacy}","received_events_url":"https://api.github.com/users/joshsuihn/received_events","type":"User","site_admin":false},"labels":[{"id":284443185,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/installation/startup","name":"installation/startup","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-10-31T05:00:21Z","updated_at":"2016-10-31T06:20:03Z","closed_at":null,"body":"NOTE: Only file GitHub issues for bugs and feature requests.  All other topics will be closed.\r\n\r\n\r\n### Environment info\r\nOperating System: Ubuntu16.04\r\n\r\nInstalled version of CUDA and cuDNN: 8.0 and 5\r\n\r\nPython 2.7.12 (default, Jul  1 2016, 15:12:24)\r\n[GCC 5.4.0 20160609] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import tensorflow\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py\", line 49, in <module>\r\n    from tensorflow.python import pywrap_tensorflow\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py\", line 28, in <module>\r\n    _pywrap_tensorflow = swig_import_helper()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)\r\nImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow.so: undefined symbol: _Z14tf_git_versionv\r\n\r\nI'm getting this error above with r0.10, can you please give me some insights or solutions to this? \r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/257221448","html_url":"https://github.com/tensorflow/tensorflow/issues/5295#issuecomment-257221448","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5295","id":257221448,"user":{"login":"drpngx","id":20959853,"avatar_url":"https://avatars.githubusercontent.com/u/20959853?v=3","gravatar_id":"","url":"https://api.github.com/users/drpngx","html_url":"https://github.com/drpngx","followers_url":"https://api.github.com/users/drpngx/followers","following_url":"https://api.github.com/users/drpngx/following{/other_user}","gists_url":"https://api.github.com/users/drpngx/gists{/gist_id}","starred_url":"https://api.github.com/users/drpngx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpngx/subscriptions","organizations_url":"https://api.github.com/users/drpngx/orgs","repos_url":"https://api.github.com/users/drpngx/repos","events_url":"https://api.github.com/users/drpngx/events{/privacy}","received_events_url":"https://api.github.com/users/drpngx/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T06:20:03Z","updated_at":"2016-10-31T06:20:03Z","body":"Yes, it shows as U, which means undefined. I'd need to check later, but I'm guessing that the script failed to define the symbol. Could you bazel clean, to be sure? See what happens to the `tf_version_info_generate`. It's supposed to put something in `bazel-genfiles/tensorflow/util/version_info.cc`. That should have the git version in there. If it's there, check the lib file and so on."}}
{"actor":{"display_login":"drpngx"}}