You just have to set a Python Interpreter for the project.
Preferences -> Python Interpreter (under Project Workspace) -> Select or Add an interpreter
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
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.