{"action":"closed","issue":{"url":"https://api.github.com/repos/zacharyvoase/zmqc/issues/15","repository_url":"https://api.github.com/repos/zacharyvoase/zmqc","labels_url":"https://api.github.com/repos/zacharyvoase/zmqc/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/zacharyvoase/zmqc/issues/15/comments","events_url":"https://api.github.com/repos/zacharyvoase/zmqc/issues/15/events","html_url":"https://github.com/zacharyvoase/zmqc/issues/15","id":184876350,"number":15,"title":"AttributeError: 'module' object has no attribute 'core' with pyzmq 15.2.0","user":{"login":"ice3","id":3459899,"avatar_url":"https://avatars.githubusercontent.com/u/3459899?v=3","gravatar_id":"","url":"https://api.github.com/users/ice3","html_url":"https://github.com/ice3","followers_url":"https://api.github.com/users/ice3/followers","following_url":"https://api.github.com/users/ice3/following{/other_user}","gists_url":"https://api.github.com/users/ice3/gists{/gist_id}","starred_url":"https://api.github.com/users/ice3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice3/subscriptions","organizations_url":"https://api.github.com/users/ice3/orgs","repos_url":"https://api.github.com/users/ice3/repos","events_url":"https://api.github.com/users/ice3/events{/privacy}","received_events_url":"https://api.github.com/users/ice3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-24T15:36:20Z","updated_at":"2016-10-24T20:03:04Z","closed_at":"2016-10-24T20:03:04Z","body":"Hi, \r\n\r\nI installed _zmqc_ with pip\r\n    \r\n    sudo pip install zmqc\r\n\r\nIt was installed correctly \r\n\r\n    zmqc\r\n    usage: zmqc [-h] [-v] [-0] [-r | -w] (-b | -c)\r\n                SOCK_TYPE [-o SOCK_OPT=VALUE...]\r\n                address [address ...]\r\n    zmqc: error: too few arguments\r\n\r\nBut when using the tool I got the stacktrace : \r\n\r\n    zmqc -rb SUB 'tcp://127.0.0.1:5557'                    \r\n    Traceback (most recent call last):\r\n      File \"/usr/local/bin/zmqc\", line 11, in <module>\r\n        load_entry_point('zmqc==0.1.0', 'console_scripts', 'zmqc')()\r\n      File \"/usr/local/lib/python2.7/dist-packages/zmqc.py\", line 286, in main\r\n        sock_opts = get_sockopts(args.sock_opts)\r\n      File \"/usr/local/lib/python2.7/dist-packages/zmqc.py\", line 227, in get_sockopts\r\n        int: set(zmq.core.constants.int_sockopts).union(\r\n    AttributeError: 'module' object has no attribute 'core'\r\n\r\n--------------------------------\r\n\r\nHere are my zmq / pyzmq and python versions\r\n\r\n    ipython\r\n    iPython 2.7.6 (default, Jun 22 2015, 17:58:13) \r\n    Type \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\n    IPython 5.0.0 -- An enhanced Interactive Python.\r\n    ?         -> Introduction and overview of IPython's features.\r\n    %quickref -> Quick reference.\r\n    help      -> Python's own help system.\r\n    object?   -> Details about 'object', use 'object??' for extra details.\r\n\r\n    In [1]: import zmq\r\n\r\n    In [2]: zmq.zmq_version\r\n    Out[2]: <function zmq.sugar.version.zmq_version>\r\n\r\n    In [3]: zmq.zmq_version()\r\n    Out[3]: '4.1.2'\r\n\r\n    In [4]: zmq.pyzmq_version\r\n    Out[4]: <function zmq.sugar.version.pyzmq_version>\r\n\r\n    In [5]: zmq.pyzmq_version()\r\n    Out[5]: '15.2.0'\r\n\r\n"}}
{"actor":{"display_login":"vlcinsky"}}