install_jupyter_as_user
                Questa è una vecchia versione del documento!
Run jupyter (server) as normal user
- you need the following dependencies:pickleshare,zmq,pexpect. You can install them (each) withpipandpip3, or ask your (Debian) system administrator to run
sudo aptitude install python-pickleshare python3-pickleshare python-zmq python3-zmq python-pexpect python3-pexpect
- then you can run the following:
pip install jupyter --user pip3 install jupyter --user .local/bin/ipython3 kernelspec install-self --user
- If you want a server, additionally generate a certificate and tell jupyter to use it:
openssl req -x509 -nodes -days 900 -newkey rsa:2048 -keyout jupyter_key.key -out jupyter_cert.pem jupyter --generate-config
- … edit the created file, and finally for a comfortable shortcut…
ln -s .local/bin/jupyter-notebook bin/jupyter
- … and if you want the server to be always up, just runcrontab -eand add the following line:
@reboot jupyter
install_jupyter_as_user.1454349316.txt.gz · Ultima modifica:  da pietro
                
                