Installing Jupyter in PyCharm Professional problem

Viewed 2101

I am using PyCharm Professional to install Jupyter and following the tutorial: https://www.jetbrains.com/help/pycharm/jupyter-notebook-support.html

However, after creating the .ipynb file and trying to run it I run into the following error: "This file does not belong to the project". Also I have "Jupyter file outside of the module" greyed out (see screenshot). Is there anything I am missing? I've created a new .ipynb file inside the project (see screenshot).

enter image description here

enter image description here

2 Answers

The problem here is that your .ipynb folder is inside the venv folder. This venv folder should only contain the Python interpreter and third party packages. You should not place any files you create under venv. Instead, put them directly in the module folder jupyter-eda.

I noticed the scratches folder was not in the project, so it helped to just add it...

Related