{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/5393","labels_url":"https://api.github.com/repos/ipython/ipython/issues/5393/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/5393/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/5393/events","html_url":"https://github.com/ipython/ipython/issues/5393","id":29791905,"number":5393,"title":"ImportError: IPython.kernel.zmq requires pyzmq >= 2.1.11","user":{"login":"prjemian","id":2279984,"avatar_url":"https://avatars.githubusercontent.com/u/2279984?v=3","gravatar_id":"","url":"https://api.github.com/users/prjemian","html_url":"https://github.com/prjemian","followers_url":"https://api.github.com/users/prjemian/followers","following_url":"https://api.github.com/users/prjemian/following{/other_user}","gists_url":"https://api.github.com/users/prjemian/gists{/gist_id}","starred_url":"https://api.github.com/users/prjemian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prjemian/subscriptions","organizations_url":"https://api.github.com/users/prjemian/orgs","repos_url":"https://api.github.com/users/prjemian/repos","events_url":"https://api.github.com/users/prjemian/events{/privacy}","received_events_url":"https://api.github.com/users/prjemian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ipython/ipython/milestones/11","html_url":"https://github.com/ipython/ipython/milestones/no%20action","labels_url":"https://api.github.com/repos/ipython/ipython/milestones/11/labels","id":247447,"number":11,"title":"no action","description":"A milestone for closed or open issues for which there is no action needed.\r\n\r\n- duplicate\r\n- not a bug\r\n- just a question / discussion, nothing to resolve\r\n- wontfix\r\n- etc.","creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":1929,"state":"open","created_at":"2013-01-19T01:33:01Z","updated_at":"2015-12-03T22:44:35Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2014-03-20T03:40:03Z","updated_at":"2015-12-06T16:43:57Z","closed_at":"2014-03-20T04:05:35Z","body":"This exception is raised from IPython/utils/zmqrelated.py, line 37\r\nBut the message is incorrect since my system satisfies the requirements:\r\n```\r\nprjemian@como:~/...lipse/nexpy/doc$ pip show ipython pyzmq\r\n---\r\nName: ipython\r\nVersion: 1.2.1\r\nLocation: /home/prjemian/Apps/epd/rh6-x86_64/lib/python2.7/site-packages\r\nRequires: \r\n---\r\nName: pyzmq\r\nVersion: 2.2.0\r\nLocation: /home/prjemian/Apps/epd/rh6-x86_64/lib/python2.7/site-packages\r\nRequires: \r\n```\r\n\r\nInstead, the real source of the exception comes from \"import zmq\" :\r\n```\r\nIn [1]: import zmq\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-1-1d4d77cc188d> in <module>()\r\n----> 1 import zmq\r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/__init__.py in <module>()\r\n     68 # zmq top-level imports\r\n     69 \r\n---> 70 from zmq.backend import *\r\n     71 from zmq import sugar\r\n     72 from zmq.sugar import *\r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/backend/__init__.py in <module>()\r\n     27         _ns = select_backend('zmq.backend.cython')\r\n     28     except ImportError:\r\n---> 29         _ns = select_backend('zmq.backend.cffi')\r\n     30 \r\n     31 globals().update(_ns)\r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/backend/select.pyc in select_backend(name)\r\n     29 def select_backend(name):\r\n     30     \"\"\"Select the pyzmq backend\"\"\"\r\n---> 31     mod = __import__(name, fromlist=public_api)\r\n     32     ns = {}\r\n     33     for key in public_api:\r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/backend/cffi/__init__.py in <module>()\r\n     10 #-----------------------------------------------------------------------------\r\n     11 \r\n---> 12 from zmq.backend.cffi import (constants, error, message, context, socket,\r\n     13                            _poll, devices, utils)\r\n     14 \r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/backend/cffi/constants.py in <module>()\r\n      2 \"\"\"zmq constants\"\"\"\r\n      3 \r\n----> 4 from ._cffi import C, c_constant_names\r\n      5 from zmq.utils.constant_names import all_names\r\n      6 \r\n\r\n/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/zmq/backend/cffi/_cffi.py in <module>()\r\n     18 import os\r\n     19 from os.path import dirname, join\r\n---> 20 from cffi import FFI\r\n     21 \r\n     22 from zmq.utils.constant_names import all_names, no_prefix\r\n\r\nImportError: No module named cffi\r\n```\r\n\r\n------\r\n\r\nprjemian@como:~/...lipse/nexpy/doc$ python -c \"import IPython; print(IPython.sys_info())\"\r\n{'codename': 'An Afternoon Hack',\r\n 'commit_hash': '9c4f59d',\r\n 'commit_source': 'installation',\r\n 'default_encoding': 'UTF-8',\r\n 'ipython_path': '/home/prjemian/Apps/epd/rh5-x86_64/lib/python2.7/site-packages/IPython',\r\n 'ipython_version': '1.2.1',\r\n 'os_name': 'posix',\r\n 'platform': 'Linux-3.8.0-33-generic-x86_64-with-debian-wheezy-sid',\r\n 'sys_executable': '/home/prjemian/Apps/epd/rh5-x86_64/bin/python',\r\n 'sys_platform': 'linux2',\r\n 'sys_version': '2.7.3 |EPD 7.3-2 (64-bit)| (default, Apr 11 2012, 17:52:16) \\n[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]'}\r\n\r\nContext for this the NeXpy project (https://github.com/nexpy/nexpy).  Project master branch installs.  Application program fails to start, generating the exception noted here: https://github.com/nexpy/nexpy/issues/16"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/162327977","html_url":"https://github.com/ipython/ipython/issues/5393#issuecomment-162327977","issue_url":"https://api.github.com/repos/ipython/ipython/issues/5393","id":162327977,"user":{"login":"linwoodc3","id":2884914,"avatar_url":"https://avatars.githubusercontent.com/u/2884914?v=3","gravatar_id":"","url":"https://api.github.com/users/linwoodc3","html_url":"https://github.com/linwoodc3","followers_url":"https://api.github.com/users/linwoodc3/followers","following_url":"https://api.github.com/users/linwoodc3/following{/other_user}","gists_url":"https://api.github.com/users/linwoodc3/gists{/gist_id}","starred_url":"https://api.github.com/users/linwoodc3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linwoodc3/subscriptions","organizations_url":"https://api.github.com/users/linwoodc3/orgs","repos_url":"https://api.github.com/users/linwoodc3/repos","events_url":"https://api.github.com/users/linwoodc3/events{/privacy}","received_events_url":"https://api.github.com/users/linwoodc3/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T16:43:57Z","updated_at":"2015-12-06T16:43:57Z","body":"Confirming as a 14.04 Trusty user, this worked for me:\r\n\r\nsudo pip uninstall pyzmq\r\nsudo pip install pyzmq\r\n\r\n"}}