Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glowinthedark/426ea9fad2f4b23dd41001a87590d56b to your computer and use it in GitHub Desktop.
Save glowinthedark/426ea9fad2f4b23dd41001a87590d56b to your computer and use it in GitHub Desktop.
Install jupyter notebook with extensions and optional bash and js kernels
pip3 install ipython
pip3 install notebook
pip3 install jupyter
echo 'Installing nbextensions: https://github.com/ipython-contrib/jupyter_contrib_nbextensions https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html'
pip3 install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
echo 'Installing nbextensions_configurator: https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator'
pip3 install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
read -p 'Now start the server with "jupyter notebook" press Enter when done...'
open http://localhost:8888/nbextensions &
read -p "Install bash kernel? (https://github.com/takluyver/bash_kernel) Ctr+C to abort..."
pip3 install bash_kernel
python3 -m bash_kernel.install
read -p "Install ijavascript kernel? (https://github.com/n-riesco/ijavascript) Ctr+C to abort..."
npm install -g ijavascript
ijsinstall
echo All DONE!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment