Jupyter Notebook Runtime Error

This is the first time I’ve run into this error. After entering:

% ipython notebook

I got the following error:

PermissionError: [Errno 13] 
Permission denied: '/Users/john/Library/Jupyter/runtime'

At the top, I should’ve noticed this as well:

Traceback (most recent call last):
File

“/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/traitlets/traitlets.py”, line 432, in get
value = obj._trait_values[self.name]
KeyError: ‘runtime_dir’

It took me a while to figure out how to fix this, but eventually I figured out I had to do the following:

sudo -i
cd /Users/john/Library
chmod -R a+rX Jupyter/

I don’t know why this worked and regular sudo did not, but that’s what it took to get it done. Also, Jupyter keeps telling me that ipython notebook is a deprecated command, but jupyter notebook doesn’t yet work. A few more kinks in need of working out.

Leave a Reply