I have a new project in PyCharm under it the project, I create a jupyter notebook but when I run it I keep getting this error
Add Jupyter to the interpreter of the current project.
I cant figure out what to do, I have reset the
Project Interpretor But no use
Install Jupyter by selecting PyCharm >> Preferences >> Project Interpreter, then click the “+” button to add new packages.
1. Change Jupyter Notebook startup folder (Windows) Copy the Jupyter Notebook launcher from the menu to the desktop. Right click on the new launcher and change the Target field , change %USERPROFILE% to the full path of the folder which will contain all the notebooks.
Setting up your environment To work with Python in Jupyter Notebooks, you must activate an Anaconda environment in VS Code, or another Python environment in which you've installed the Jupyter package. To select an environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P).
While the default cell type for new cells is Code, you can change the cell type of any existing cell by clicking in the cell and selecting a new cell type (e.g. Markdown ) in the cell type menu in the toolbar.
You need to install jupyter for the project interpreter or the virtualenv that you use:
pip install jupyter
PyCharm support for the Jupyter Notebook is shaky IMO. You will probably need to restart it, and respond to dialog windows trying to connect to the default Notebook server location, localhost:8888. On my machine, canceling that request to connect strangely helps to finally see the output of the cells within PyCharm.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With