Skip to content

Instantly share code, notes, and snippets.

@NdagiStanley
Last active April 2, 2022 06:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NdagiStanley/84422708f60a432ff91ee777a66c759b to your computer and use it in GitHub Desktop.
Save NdagiStanley/84422708f60a432ff91ee777a66c759b to your computer and use it in GitHub Desktop.
Having Python2, Python3 and Javascript in your Jupyter notebook installation

Jupyter Install Steps

Install Python

brew install python2
brew install python3

Install Node

brew install node

Install ijs and install

sudo npm install -g ijavascript
ijsinstall

Run the following commands to install jupyter (Preferably in a virtual environment)

pip2 install jupyter
pip3 install jupyter

Start server

jupyter notebook

For more:

@NdagiStanley
Copy link
Author

screenshot 2017-09-18 12 43 27

You should be able to create any of the three Jupyter notebooks.

@NdagiStanley
Copy link
Author

So I just found out that instead of pip install jupyter, you can pip install notebook and still run jupyter notebook.

Question

What's the difference in pip installing either?

I can only find that there are 5 additional packages when you pip install jupyter:

  • ipywidgets
  • jupyter
  • jupyter-console
  • testpath
  • widgetsnbextension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment