Skip to content

Instantly share code, notes, and snippets.

@vicente-gonzalez-ruiz
Last active December 21, 2023 16:11
Show Gist options
  • Save vicente-gonzalez-ruiz/afa958f0829d935858e56f8afe12512b to your computer and use it in GitHub Desktop.
Save vicente-gonzalez-ruiz/afa958f0829d935858e56f8afe12512b to your computer and use it in GitHub Desktop.
Jupyter notebook windows 10
1. Download the last version of Python from (at this moment, version 3.12.0):
https://www.python.org/downloads/
2. Run the downloaded archive. Select the option "Add python.exe to PATH" and "Install Now". Select also "Disable path length limit".
3. Press <Win> + <R>, type "cmd", and press <Enter>.
4. Create a Python environment. For example (in the command line interpreter):
python -m venv intercom_env
(obviously, you can re-use an old one, and you can skip this step).
5. Activate the environment. Run (the tabulator-key <Tab> can help):
intercom_env\Scripts\activate
and the prompt of the shell interpreter should become:
(intercom_env) C:\Users\....>
to deactivate the environment (not do this now!), exit from the command line interpreter or run:
deactivate
Remember that to use Python and the packages installed in the environment "intercom_env", you must activate it first.
6. Install Jupyter (in the shell, type):
pip install jupyter
7. Run Jupyter notebook:
jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment