I am getting following error while trying to run a jupyter-notebook cell from DataSpell. Can anyone suggest about how to get rid of this?
Thanks in advance.
I am getting following error while trying to run a jupyter-notebook cell from DataSpell. Can anyone suggest about how to get rid of this?
Thanks in advance.
You just have to set a Python Interpreter for the project.
Preferences -> Python Interpreter (under Project Workspace) -> Select or Add an interpreter
Note: Then after that select Managed: from the top left menu to choose Jupyter server automatically and start it automatically. Other wise you need to start Jupyter manually and feed the tokens at run time.
I faced the same issue and finally realized that the problem was the Interpreter misconfiguration.
Download Anaconda.
Install Anaconda using the installation instructions.
Run Anaconda Navigator and in the left hand-side, click on the "Environments" tab.
In this section you can see the existing "Environments" or create a new environment, the default mode is base (root).
Open DataSpell, go to the Interpreter and select the environment you see in number 4.
File | Settings | Project | Python Interpreter for Windows and Linux
DataSpell | Preferences | Project | Python Interpreter for macOS