{"action":"closed","issue":{"url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/1820","repository_url":"https://api.github.com/repos/mitmproxy/mitmproxy","labels_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/1820/comments","events_url":"https://api.github.com/repos/mitmproxy/mitmproxy/issues/1820/events","html_url":"https://github.com/mitmproxy/mitmproxy/issues/1820","id":194056512,"number":1820,"title":"when run  the mitmproxy on macos AttributeError: 'module' object has no attribute 'IntEnum'","user":{"login":"niasand","id":1608115,"avatar_url":"https://avatars.githubusercontent.com/u/1608115?v=3","gravatar_id":"","url":"https://api.github.com/users/niasand","html_url":"https://github.com/niasand","followers_url":"https://api.github.com/users/niasand/followers","following_url":"https://api.github.com/users/niasand/following{/other_user}","gists_url":"https://api.github.com/users/niasand/gists{/gist_id}","starred_url":"https://api.github.com/users/niasand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niasand/subscriptions","organizations_url":"https://api.github.com/users/niasand/orgs","repos_url":"https://api.github.com/users/niasand/repos","events_url":"https://api.github.com/users/niasand/events{/privacy}","received_events_url":"https://api.github.com/users/niasand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-07T13:59:58Z","updated_at":"2016-12-07T15:24:40Z","closed_at":"2016-12-07T15:24:40Z","body":"##### Steps to reproduce the problem:\r\n\r\n1. input the  command mitmproxy on the iterm2 \r\n2. and then, enter\r\n3.\r\n\r\n\r\n##### Any other comments? What have you tried so far?\r\nit seems that enum34 on python2.7.12 has no attribute IntEnum\r\n\r\n##### System information\r\n1. masoc sierra\r\n2. pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)\r\n3. reinstall the mitmproxy, the problem is still exists.\r\n\r\n<!--\r\nPython 2.7.12 (default, Oct  9 2016, 13:02:45)\r\n[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n-->\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/mitmproxy\", line 7, in <module>\r\n    from mitmproxy.main import mitmproxy\r\n  File \"/usr/local/lib/python2.7/site-packages/mitmproxy/main.py\", line 11, in <module>\r\n    from mitmproxy.proxy import config\r\n  File \"/usr/local/lib/python2.7/site-packages/mitmproxy/proxy/__init__.py\", line 4, in <module>\r\n    from .root_context import RootContext\r\n  File \"/usr/local/lib/python2.7/site-packages/mitmproxy/proxy/root_context.py\", line 10, in <module>\r\n    from mitmproxy import protocol\r\n  File \"/usr/local/lib/python2.7/site-packages/mitmproxy/protocol/__init__.py\", line 34, in <module>\r\n    from .http import UpstreamConnectLayer\r\n  File \"/usr/local/lib/python2.7/site-packages/mitmproxy/protocol/http.py\", line 3, in <module>\r\n    import h2.exceptions\r\n  File \"/usr/local/lib/python2.7/site-packages/h2/exceptions.py\", line 8, in <module>\r\n    import h2.errors\r\n  File \"/usr/local/lib/python2.7/site-packages/h2/errors.py\", line 14, in <module>\r\n    class ErrorCodes(enum.IntEnum):\r\nAttributeError: 'module' object has no attribute 'IntEnum'"}}
{"actor":{"display_login":"niasand"}}