Created
December 10, 2023 18:45
-
-
Save ergin/ace6a4c94f6d7fda27163c27771f074d to your computer and use it in GitHub Desktop.
Install Jupyter Notebook on a Windows. Assuming Python interpreter already installed on your computer.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Default installation path. You can change it to any directory you want. | |
mkdir C:\Development\jupyter | |
cd C:\Development\jupyter | |
:: Create a Python virtual environment | |
python -m pip install --upgrade pip | |
python -m venv env | |
:: Activate virtual environment and install jupyter notebook | |
env\Scripts\activate | |
pip install jupyter notebook | |
python -m pip install --upgrade pip | |
exit | |
:: Run jupyter notebook. Next time you want to run it just use the following line. | |
cmd /k "cd /d C:\Development\jupyter\env\Scripts & activate & cd /d C:\Development\jupyter & jupyter notebook" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment