Python/Jupyter: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „== Installation == * apt install python3-pip * pip3 install --upgrade pip“)
 
No edit summary
Line 2: Line 2:
* apt install python3-pip
* apt install python3-pip
* pip3 install --upgrade pip
* pip3 install --upgrade pip
== Config ==
* autostart from rc.local
<blockquote>
<pre>
/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.py --allow-root
</pre>
</blockquote>
* insecure access without token/password (/home/pi/.jupyter/jupyter_notebook_config.py)
<blockquote>
<pre>
c.NotebookApp.ip = '*'
c.NotebookApp.notebook_dir = '/srv/Python'
c.NotebookApp.open_browser = False
c.NotebookApp.password = ''
c.NotebookApp.token = ''
</pre>
</blockquote>

Revision as of 13:40, 20 November 2017

Installation

  • apt install python3-pip
  • pip3 install --upgrade pip


Config

  • autostart from rc.local
/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.py --allow-root


  • insecure access without token/password (/home/pi/.jupyter/jupyter_notebook_config.py)
c.NotebookApp.ip = '*'
c.NotebookApp.notebook_dir = '/srv/Python'
c.NotebookApp.open_browser = False
c.NotebookApp.password = ''
c.NotebookApp.token = ''