- Set your Python interpreter for your project
- Install required external packages
- Run Jupyter Lab
- Run the .ipynb files
This course requires Python 3.7 or higher.
If your project is using the wrong version of Python, or if you want to create a virtual environment for the project, follow these instructions.
-
Open the Python Packages view from the bottom toolbar
-
Install the desired package
-
numpyandpandasto run the example code (.ipynb and .py files) -
jupyterto run the .ipynb notebook files (recommended)
- Search for the package name
- Select the matching one
- Click Install package
-
-
You should then see the installed packages in the list on the left.
Once you've installed Jupyter in your Python interpreter, you can launch Jupyter Lab and Jupyter Notebook from the terminal.
-
Open a terminal and input the command
jupyter laborjupyter notebook
-
You will see some links printed to the console and a browser tab should open
-
You are now running Jupyter Lab or Jupyter Notebook in the browser
Jupyter Lab
Jupyter Notebook
You can open a specific notebook in Jupyter Notebook
Notebooks are view-only in PyCharm community.
You can run the corresponding .py files and the results will print to the Run console. Alternatively, you can open the Python Console and copy and paste the contents of a code cell to run it.
Select a code cell and click the run button to run it (or press SHIFT + ENTER).
PyCharm Professional
Jupyter Lab
Jupyter Notebook
This restarts the Python session, clearing any variables, and runs the whole notebook from top to bottom
PyCharm Professional
Jupyter Lab
Jupyter Notebook








