{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4758","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4758/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4758/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4758/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4758","id":180923324,"number":4758,"title":"AttributeError: type object 'NewBase' has no attribute 'is_abstract'","user":{"login":"dxin1234","id":14896444,"avatar_url":"https://avatars.githubusercontent.com/u/14896444?v=3","gravatar_id":"","url":"https://api.github.com/users/dxin1234","html_url":"https://github.com/dxin1234","followers_url":"https://api.github.com/users/dxin1234/followers","following_url":"https://api.github.com/users/dxin1234/following{/other_user}","gists_url":"https://api.github.com/users/dxin1234/gists{/gist_id}","starred_url":"https://api.github.com/users/dxin1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dxin1234/subscriptions","organizations_url":"https://api.github.com/users/dxin1234/orgs","repos_url":"https://api.github.com/users/dxin1234/repos","events_url":"https://api.github.com/users/dxin1234/events{/privacy}","received_events_url":"https://api.github.com/users/dxin1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T15:18:40Z","updated_at":"2016-10-04T15:18:40Z","closed_at":null,"body":"I uninstalled anaconda and reinstalled tensorflow using the pip installation. \r\n\r\nOriginally it was having trouble updating numpy, but after I fixed that now I'm getting this error:\r\n\r\n`import tensorflow\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/__init__.py\", line 98, in <module>\r\n    from tensorflow.python.platform import test\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/platform/test.py\", line 63, in <module>\r\n    from tensorflow.python.framework import test_util\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/framework/test_util.py\", line 43, in <module>\r\n    from tensorflow.python.platform import googletest\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/platform/googletest.py\", line 32, in <module>\r\n    from tensorflow.python.platform import benchmark  # pylint: disable=unused-import\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/platform/benchmark.py\", line 122, in <module>\r\n    class Benchmark(six.with_metaclass(_BenchmarkRegistrar, object)):\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six.py\", line 566, in with_metaclass\r\n    return meta(\"NewBase\", bases, {})\r\n  File \"/Library/Python/2.7/site-packages/tensorflow/python/platform/benchmark.py\", line 117, in __new__\r\n    if not newclass.is_abstract():\r\nAttributeError: type object 'NewBase' has no attribute 'is_abstract'`\r\n\r\nCould this be because uninstalling anaconda left some residual effects. I noticed my $PATH still has anaconda prepended to it\r\n`$PATH -bash: /Users/usr/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/usr/texbin: No such file or directory`"}}
{"actor":{"display_login":"dxin1234"}}