[IPython-User] IPython in windows

smk mpapoutsogloy@gmail....
Sun Oct 14 05:03:57 CDT 2012


No I don't user firewall.

Here what the cmd print when I open a new notebook, type something and try
to run it.

[NotebookApp] Using existing profile dir:
u'C:\\Users\\\u039c\u0391\u0399\u03a1\
u0397\\.ipython\\profile_default'
[NotebookApp] Serving notebooks from C:\Users\sm
[NotebookApp] The port 8888 is already in use, trying another random port.
[NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8889/
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
[NotebookApp] Using MathJax from CDN:
http://cdn.mathjax.org/mathjax/latest/Math
Jax.js
ERROR:root:Uncaught exception POST
/kernels?notebook=24f8c716-8d7e-423d-9dd3-7d7
c4297eae5 (127.0.0.1)
HTTPRequest(protocol='http', host='127.0.0.1:8889', method='POST',
uri='/kernels
?notebook=24f8c716-8d7e-423d-9dd3-7d7c4297eae5', version='HTTP/1.1',
remote_ip='
127.0.0.1', body='', headers={'Origin': 'http://127.0.0.1:8889',
'Content-Length
': '0', 'Accept-Language': 'el-GR,el;q=0.8', 'Accept-Encoding':
'gzip,deflate,sd
ch', 'Host': '127.0.0.1:8889', 'Accept': 'application/json, text/javascript,
*/*
; q=0.01', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.4
(KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4', 'Accept-Charset':
'ISO-88
59-7,utf-8;q=0.7,*;q=0.3', 'Connection': 'keep-alive', 'X-Requested-With':
'XMLH
ttpRequest', 'Referer': 'http://127.0.0.1:8889/new'})
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\tornado\web.py", line 1042, in
_execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "c:\python27\lib\site-packages\tornado\web.py", line 1809, in wrapper
    return method(self, *args, **kwargs)
  File
"c:\python27\lib\site-packages\IPython\frontend\html\notebook\handlers.py
", line 335, in post
    kernel_id = km.start_kernel(notebook_id, cwd=nbm.notebook_dir)
  File
"c:\python27\lib\site-packages\IPython\frontend\html\notebook\kernelmanag
er.py", line 274, in start_kernel
    kernel_id = super(MappingKernelManager, self).start_kernel(**kwargs)
  File
"c:\python27\lib\site-packages\IPython\frontend\html\notebook\kernelmanag
er.py", line 89, in start_kernel
    km.start_kernel(**kwargs)
  File "c:\python27\lib\site-packages\IPython\zmq\kernelmanager.py", line
806, i
n start_kernel
    self.kernel = launch_kernel(fname=self.connection_file, **kw)
  File "c:\python27\lib\site-packages\IPython\zmq\ipkernel.py", line 869, in
lau
nch_kernel
    *args, **kwargs)
  File "c:\python27\lib\site-packages\IPython\zmq\entry_point.py", line 189,
in
base_launch_kernel
    stdin=_stdin, stdout=_stdout, stderr=_stderr)
  File "C:\Python27\lib\subprocess.py", line 679, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 893, in _execute_child
    startupinfo)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 86-90:
ord
inal not in range(128)
ERROR:root:500 POST /kernels?notebook=24f8c716-8d7e-423d-9dd3-7d7c4297eae5
(127.
0.0.1) 23.00ms




--
View this message in context: http://python.6.n6.nabble.com/IPython-in-windows-tp4992137p4992195.html
Sent from the IPython - User mailing list archive at Nabble.com.


More information about the IPython-User mailing list