{"action":"created","issue":{"url":"https://api.github.com/repos/google/skflow/issues/49","labels_url":"https://api.github.com/repos/google/skflow/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/google/skflow/issues/49/comments","events_url":"https://api.github.com/repos/google/skflow/issues/49/events","html_url":"https://github.com/google/skflow/issues/49","id":123622004,"number":49,"title":"python setup.py install broke other packages in os X","user":{"login":"boscotsang","id":7187749,"avatar_url":"https://avatars.githubusercontent.com/u/7187749?v=3","gravatar_id":"","url":"https://api.github.com/users/boscotsang","html_url":"https://github.com/boscotsang","followers_url":"https://api.github.com/users/boscotsang/followers","following_url":"https://api.github.com/users/boscotsang/following{/other_user}","gists_url":"https://api.github.com/users/boscotsang/gists{/gist_id}","starred_url":"https://api.github.com/users/boscotsang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boscotsang/subscriptions","organizations_url":"https://api.github.com/users/boscotsang/orgs","repos_url":"https://api.github.com/users/boscotsang/repos","events_url":"https://api.github.com/users/boscotsang/events{/privacy}","received_events_url":"https://api.github.com/users/boscotsang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-23T08:46:52Z","updated_at":"2015-12-23T09:04:30Z","closed_at":null,"body":"When I run the `python setup.py install` the first time it went well but after I ran the python `setup.py installl` all the modules that skflow depends to were broken. The following is the detail information.\r\n\r\n```\r\nPython 2.7.11 (default, Dec 23 2015, 12:23:20) \r\n[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import numpy\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/__init__.py\", line 180, in <module>\r\n    from . import add_newdocs\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/add_newdocs.py\", line 13, in <module>\r\n    from numpy.lib import add_newdoc\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/lib/__init__.py\", line 8, in <module>\r\n    from .type_check import *\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/lib/type_check.py\", line 11, in <module>\r\n    import numpy.core.numeric as _nx\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/core/__init__.py\", line 58, in <module>\r\n    from numpy.testing import Tester\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/testing/__init__.py\", line 14, in <module>\r\n    from .utils import *\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/numpy/testing/utils.py\", line 15, in <module>\r\n    from tempfile import mkdtemp\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/tempfile.py\", line 32, in <module>\r\n    import io as _io\r\n  File \"build/bdist.macosx-10.11-x86_64/egg/io/__init__.py\", line 16, in <module>\r\n    \r\n  File \"skflow/__init__.py\", line 17, in <module>\r\n    import tensorflow as tf\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/tensorflow/__init__.py\", line 23, in <module>\r\n    from tensorflow.python import *\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/tensorflow/python/__init__.py\", line 43, in <module>\r\n    raise ImportError(msg)\r\nImportError: Traceback (most recent call last):\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/tensorflow/python/__init__.py\", line 37, in <module>\r\n    from tensorflow.core.framework.graph_pb2 import *\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/tensorflow/core/framework/graph_pb2.py\", line 8, in <module>\r\n    from google.protobuf import reflection as _reflection\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/google/protobuf/reflection.py\", line 58, in <module>\r\n    from google.protobuf.internal import python_message as message_impl\r\n  File \"/Users/tsangbosco/.pyenv/versions/2.7.11/lib/python2.7/site-packages/google/protobuf/internal/python_message.py\", line 53, in <module>\r\n    from io import BytesIO\r\nImportError: cannot import name BytesIO\r\n```"},"comment":{"url":"https://api.github.com/repos/google/skflow/issues/comments/166838370","html_url":"https://github.com/google/skflow/issues/49#issuecomment-166838370","issue_url":"https://api.github.com/repos/google/skflow/issues/49","id":166838370,"user":{"login":"ilblackdragon","id":175486,"avatar_url":"https://avatars.githubusercontent.com/u/175486?v=3","gravatar_id":"","url":"https://api.github.com/users/ilblackdragon","html_url":"https://github.com/ilblackdragon","followers_url":"https://api.github.com/users/ilblackdragon/followers","following_url":"https://api.github.com/users/ilblackdragon/following{/other_user}","gists_url":"https://api.github.com/users/ilblackdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/ilblackdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilblackdragon/subscriptions","organizations_url":"https://api.github.com/users/ilblackdragon/orgs","repos_url":"https://api.github.com/users/ilblackdragon/repos","events_url":"https://api.github.com/users/ilblackdragon/events{/privacy}","received_events_url":"https://api.github.com/users/ilblackdragon/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T09:04:30Z","updated_at":"2015-12-23T09:04:30Z","body":"It's weird that you are importing stuff from build/bdist.macosx-10.11-x86_64/egg/ .\r\nWhich folder are you running your python from? If you are in clonned folder you called setup.py install - try changing directory. Also try checking how your $PYTHONPATH looks like - it shouldn't have that directory in the list."}}