Reputation: 143
In an ubuntu terminal window when the notebook is starting this error is raised. Could anybody explain this error
KeyError: 3
ERROR:root:Exception in I/O handler for fd 3
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/zmq/eventloop/ioloop.py", line 330, in start
self._handlers[fd](fd, events)
Upvotes: 14
Views: 2734
Reputation: 769
I had to upgrade pyzmq to get it working:
sudo pip install pyzmq --upgrade
If the problem still persists try upgrading the rest of the libraries which are:
sudo pip install jinja2
sudo pip install tornado
If you don't wanna be messing around with these libraries you could run a virtual environment and install everything there. Here is the documentation: http://docs.python-guide.org/en/latest/dev/virtualenvs/
Hope it helps, cheers!
Upvotes: 15