{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/qtconsole/issues/120","repository_url":"https://api.github.com/repos/jupyter/qtconsole","labels_url":"https://api.github.com/repos/jupyter/qtconsole/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/qtconsole/issues/120/comments","events_url":"https://api.github.com/repos/jupyter/qtconsole/issues/120/events","html_url":"https://github.com/jupyter/qtconsole/issues/120","id":148215292,"number":120,"title":"Building into an exectuable with Py2App causes \"No module named cython\"","user":{"login":"ronpandolfi","id":8462075,"avatar_url":"https://avatars.githubusercontent.com/u/8462075?v=3","gravatar_id":"","url":"https://api.github.com/users/ronpandolfi","html_url":"https://github.com/ronpandolfi","followers_url":"https://api.github.com/users/ronpandolfi/followers","following_url":"https://api.github.com/users/ronpandolfi/following{/other_user}","gists_url":"https://api.github.com/users/ronpandolfi/gists{/gist_id}","starred_url":"https://api.github.com/users/ronpandolfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronpandolfi/subscriptions","organizations_url":"https://api.github.com/users/ronpandolfi/orgs","repos_url":"https://api.github.com/users/ronpandolfi/repos","events_url":"https://api.github.com/users/ronpandolfi/events{/privacy}","received_events_url":"https://api.github.com/users/ronpandolfi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-14T00:04:24Z","updated_at":"2016-04-18T11:02:26Z","closed_at":null,"body":"I am trying to build a qtconsole RichJupyterWidget into a .exe using Py2App. This causes an ImportError: No module named cython. Despite the error message, Cython is included in the resulting library.zip.\r\n\r\nSee attached a minimal example of what does not work for me.\r\n\r\nMy version info is listed below:\r\n```\r\n{'commit_hash': u'b573435',\r\n 'commit_source': 'installation',\r\n 'default_encoding': 'cp437',\r\n 'ipython_path': 'C:\\\\Python27\\\\lib\\\\site-packages\\\\IPython',\r\n 'ipython_version': '4.1.2',\r\n 'os_name': 'nt',\r\n 'platform': 'Windows-10-10.0.10586',\r\n 'sys_executable': 'C:\\\\Python27\\\\python.exe',\r\n 'sys_platform': 'win32',\r\n 'sys_version': '2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]'}\r\n\r\nbackports-abc==0.4\r\nbackports.ssl-match-hostname==3.5.0.1\r\ncertifi==2016.2.28\r\nconfigparser==3.3.0.post2\r\ncx-Freeze==4.3.4\r\ncycler==0.10.0\r\nCython==0.23.4\r\ndecorator==4.0.9\r\nentrypoints==0.2\r\net-xmlfile==1.0.1\r\nfabio==0.3.0\r\nfunctools32==3.2.3.post2\r\nh5py==2.5.0\r\nipykernel==4.3.1\r\nipython==4.1.2\r\nipython-genutils==0.1.0\r\nipywidgets==4.1.1\r\njdcal==1.2\r\nJinja2==2.8\r\njsonschema==2.5.1\r\njupyter==1.0.0\r\njupyter-client==4.2.2\r\njupyter-console==4.1.1\r\njupyter-core==4.1.0\r\nMarkupSafe==0.23\r\nmatplotlib==1.5.1\r\nmistune==0.7.2\r\nnbconvert==4.2.0\r\nnbformat==4.0.1\r\nnexusformat==0.2.2\r\nnotebook==4.1.0\r\nnumpy==1.10.4\r\nopenpyxl==2.3.4\r\npath.py==8.1.2\r\npathlib2==2.1.0\r\npickleshare==0.7.2\r\nPillow==3.1.1\r\npyFAI==0.11.0\r\npyfits==3.4\r\npyglet==1.2.4\r\nPygments==2.1.3\r\nPyOpenGL==3.1.0\r\npyparsing==2.1.1\r\npyqtgraph==0.9.10\r\npyreadline==2.1\r\nPySide==1.2.4\r\npython-dateutil==2.5.2\r\npytz==2016.3\r\nPyYAML==3.11\r\npyzmq==15.2.0\r\nQDarkStyle==2.1\r\nqtconsole==4.2.1\r\nscipy==0.17.0\r\nShiboken==1.2.2\r\nsimplegeneric==0.8.1\r\nsingledispatch==3.4.0.3\r\nsix==1.10.0\r\ntornado==4.3\r\ntraitlets==4.2.1\r\n```\r\n\r\n[jupitertest.zip](https://github.com/jupyter/qtconsole/files/218165/jupitertest.zip)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/qtconsole/issues/comments/211329946","html_url":"https://github.com/jupyter/qtconsole/issues/120#issuecomment-211329946","issue_url":"https://api.github.com/repos/jupyter/qtconsole/issues/120","id":211329946,"user":{"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},"created_at":"2016-04-18T11:02:26Z","updated_at":"2016-04-18T11:02:26Z","body":"There should be a zmq/backend/cython/ directory full of compiled extensions. Does that exist?\r\n\r\nAs for the syntax errors, there are a couple of asyncio modules in pyzmq that only work on Python 3. There's no problem with them being present on Python 2, but they can't be imported."}}