Skip to content

Instantly share code, notes, and snippets.

@vicente-gonzalez-ruiz
Last active December 21, 2023 16:19
Show Gist options
  • Save vicente-gonzalez-ruiz/ad8c70840415301c628e839eaa4b4a2d to your computer and use it in GitHub Desktop.
Save vicente-gonzalez-ruiz/ad8c70840415301c628e839eaa4b4a2d to your computer and use it in GitHub Desktop.
Install Jupyter notebook in Linux (and OSX)
1. Create a Python environment. For example (in the command line interpreter):
python3 -m venv intercom_env
(obviously, you can re-use a old one, and you can skip this step).
2. Activate the environment. Run (tabulator key helps):
intercom_env/bin//activate
and the prompt of the shell interpreter should change to:
(intercom_env) ...
to deactivate the environment (do not do this now!), exit from the command line interpreter or run:
deactivate
Remember that to use Python and the packages installed in the "intercom_env", you must activate it first.
3. Install Jupyter (type in the shell):
pip install jupyter
4. Run Jupyter notebook:
jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment