[IPython-User] Error creating a new IPython notebook

Jeffrey Roberts jar1908@gmail....
Mon Nov 5 15:29:15 CST 2012


Hello,

I am a Python newbie who is excited about using IPython notebook but can't
seem to get it installed properly. I downloaded and installed EPD Free 7.3.
I've worked through a couple of examples in West McKinney's book "Python
for Data Analysis" so I know that IPython works via the console.

At the command prompt, I typed ipython notebook --pylab=inline. A notebook
tab appears in my browser (I'm using the latest version of Firefox in
Windows Vista, also tried it on my laptop in Windows 7). When I click
"Create Notebook" I get "500: Internal Server Error."  The error message
that appears in the command prompt is copied below.

Thanks for any advice on how to get ipython notebook set up.

Jeff



C:\>ipython notebook --pylab=inline
[NotebookApp] Using existing profile dir:
u'C:\\Users\\Jeff\\.ipython\\profile_d
efault'
[NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
ERROR:root:Uncaught exception GET /new (127.0.0.1)
HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
uri='/new', ve
rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
'keep-a
live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
deflate',
'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888', 'Accept':
'text/h
tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent':
'Mozil
la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in wrapper
    return method(self, *args, **kwargs)
  File
"C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
", line 245, in get
    notebook_id = nbm.new_notebook()
  File
"C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
ager.py", line 253, in new_notebook
    with open(path,'w') as f:
IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
ERROR:root:500 GET /new (127.0.0.1) 8.00ms
ERROR:root:Uncaught exception GET /new (127.0.0.1)
HTTPRequest(protocol='http', host='127.0.0.1:8888', method='GET',
uri='/new', ve
rsion='HTTP/1.1', remote_ip='127.0.0.1', body='', headers={'Connection':
'keep-a
live', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip,
deflate',
'Referer': 'http://127.0.0.1:8888/', 'Host': '127.0.0.1:8888', 'Accept':
'text/h
tml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'User-Agent':
'Mozil
la/5.0 (Windows NT 6.0; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0'})
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\tornado\web.py", line 988, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "C:\Python27\lib\site-packages\tornado\web.py", line 1739, in wrapper
    return method(self, *args, **kwargs)
  File
"C:\Python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
", line 245, in get
    notebook_id = nbm.new_notebook()
  File
"C:\Python27\lib\site-packages\IPython\frontend\html\notebook\notebookman
ager.py", line 253, in new_notebook
    with open(path,'w') as f:
IOError: [Errno 13] Permission denied: u'C:\\Untitled0.ipynb'
ERROR:root:500 GET /new (127.0.0.1) 5.00ms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121105/196eaaa7/attachment.html 


More information about the IPython-User mailing list