install_jupyter_as_user
Install and run jupyter (server) as normal user
- you need the following dependencies:
pickleshare
,zmq
,pexpect
. You can install them (each) withpip
andpip3
, 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 run
crontab -e
and add the following line:
@reboot jupyter
install_jupyter_as_user.txt · Ultima modifica: 2016/02/01 18:56 da pietro