简体   繁体   中英

Installing Jupyter in PyCharm Professional problem

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).

在此处输入图片说明

在此处输入图片说明

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 .

我注意到scratches文件夹不在项目中,所以它有助于添加它......

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM