-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event loop problem on Mac OS X #282
Comments
The same problem on OSX with python 2 jupyter-console
Jupyter console 5.2.0
Python 2.7.14 |Anaconda, Inc.| (default, Dec 7 2017, 11:07:58)
Type "copyright", "credits" or "license" for more information.
IPython 5.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: %matplotlib
Using matplotlib backend: MacOSX
ERROR:tornado.application:Exception in callback <functools.partial object at 0x108bf0f70>
Traceback (most recent call last):
File "/Users/marat/miniconda/envs/astro/lib/python2.7/site-packages/tornado/ioloop.py", line 605, in _run_callback
ret = callback()
File "/Users/marat/miniconda/envs/astro/lib/python2.7/site-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/Users/marat/miniconda/envs/astro/lib/python2.7/site-packages/ipykernel/kernelbase.py", line 262, in enter_eventloop
self.eventloop(self)
File "/Users/marat/miniconda/envs/astro/lib/python2.7/site-packages/ipykernel/eventloops.py", line 278, in loop_cocoa
show.mainloop()
AttributeError: 'function' object has no attribute 'mainloop' |
This is a change in matplotlib 2.1. I'm just about to open a PR that will fix that for other reasons. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to run
jupyter console
on Mac OS X (10.13.1) after an install of Python using anaconda and I get an error that seems related toipykernel
:It does open a prompt at the end, but the problem is that I get weird behaviours in GUIs (e.g. in matplotlib) started from this prompt.
Also it really seems specific to Mac OS X, because with the same install on linux I have not such issue and because of the
loop_cocoa
line at the end.The text was updated successfully, but these errors were encountered: