"Jupyter"의 두 판 사이의 차이

ph
이동: 둘러보기, 검색
잔글
잔글
1번째 줄: 1번째 줄:
 
* [http://songhuiming.github.io/pages/2017/04/02/jupyter-and-pandas-display/ Jupyter notebook tricks ]
 
* [http://songhuiming.github.io/pages/2017/04/02/jupyter-and-pandas-display/ Jupyter notebook tricks ]
 
* [https://github.com/jupyterlab/jupyterlab Jupyter lab] : successor of jupyter notebook
 
* [https://github.com/jupyterlab/jupyterlab Jupyter lab] : successor of jupyter notebook
 +
 +
= ip error=
 +
<pre>Traceback (most recent call last):
 +
  File "/home/xph/anaconda3/lib/python3.7/site-packages/traitlets/traitlets.py", line 528, in get
 +
    value = obj._trait_values[self.name]
 +
KeyError: 'allow_remote_access'
 +
 +
During handling of the above exception, another exception occurred:
 +
 +
Traceback (most recent call last):
 +
  File "/home/xph/anaconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 869, in _default_allow_remote
 +
    addr = ipaddress.ip_address(self.ip)
 +
  File "/home/xph/anaconda3/lib/python3.7/ipaddress.py", line 54, in ip_address
 +
    address)
 +
ValueError: '' does not appear to be an IPv4 or IPv6 address
 +
 +
During handling of the above exception, another exception occurred:</pre>
 +
If your <code>jupyter_notebook_config.py</code> file have a line like below
 +
<pre>c.NotebookApp.ip = '*'</pre>
 +
change that to
 +
<pre>c.NotebookApp.ip = '0.0.0.0'</pre>
 +
https://github.com/jupyter/notebook/issues/3946#issuecomment-423169943

2018년 10월 31일 (수) 15:36 판

ip error

Traceback (most recent call last):
  File "/home/xph/anaconda3/lib/python3.7/site-packages/traitlets/traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
KeyError: 'allow_remote_access'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/xph/anaconda3/lib/python3.7/site-packages/notebook/notebookapp.py", line 869, in _default_allow_remote
    addr = ipaddress.ip_address(self.ip)
  File "/home/xph/anaconda3/lib/python3.7/ipaddress.py", line 54, in ip_address
    address)
ValueError: '' does not appear to be an IPv4 or IPv6 address

During handling of the above exception, another exception occurred:

If your jupyter_notebook_config.py file have a line like below

c.NotebookApp.ip = '*'

change that to

c.NotebookApp.ip = '0.0.0.0'

https://github.com/jupyter/notebook/issues/3946#issuecomment-423169943