1

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.

DataSpell

Forhad Hossain
  • 401
  • 4
  • 18

2 Answers2

2

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.

Develop4Life
  • 7,581
  • 8
  • 58
  • 76
Sanu Kurien
  • 281
  • 2
  • 10
1

I faced the same issue and finally realized that the problem was the Interpreter misconfiguration.

  1. Download Anaconda.

  2. Install Anaconda using the installation instructions.

  3. Run Anaconda Navigator and in the left hand-side, click on the "Environments" tab.

  4. In this section you can see the existing "Environments" or create a new environment, the default mode is base (root).

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

rahjoo
  • 31
  • 4