Python's package manager, pip is essential for installing packages and related applications.
-
Download the most recent version of Python for either Windows or Mac
-
Upon opening the install wizard, ensure that under "optional features" that, "pip" is checked
For those running MacOS, similarly go through each step in the installation file and pip should be included
-
Open the command prompt by running "cmd" after pressing
Windows + R
together.
For MacOS, type
terminal
in the search window -
Double check that pip has successfully been installed by running the following command
>pip --version
-
Your expected output should be as follows. The version of pip will be printed along with the file path where pip was installed.
-
Congrats on installing pip! Next run the following command with pip to install Jupyter Notebook
>pip install notebook
-
Once the files have completed installation, you may run Jupyter Notebook from the command line anytime by simply writing the following
>jupyter notebook
Note: You can cancel this process anytime by pressing
CTRL + C
from the command prompt window -
Jupyter Notebook will immediately open on your browser. To create a new file, click on
New
andPython 3(ipykernel)
-
Congrats! You can now officially begin writing Python code!!