Spyder has released version 5 of Spyder IDE and it comes with its own set of packages. If you want to use other packages than pre-installed packages, following set of instructions may be helpful to you.
Step-1: Add path of Python installation to PYTHONPATH manager of Spyder
Go to Tools –> PYTHONPATH MANAGER –> Add the Python Installation Path as shown below:
To find python installation directory on Windows 10, you may use the following method:
(a). Go to search bar and type “Python” (provided you have python installed on your system) and go to the file location of Python application file.
(b). Open file location and go to properties of Python application, entry in the target tab shows the installation directory of Python interpreter.
Copy the folder path i.e. C:\Users\Puneet\AppData\Local\Programs\Python\Python39 and add it to the PYTHONPATH Manager of Spyder 5.Step 2: Change Spyder’s default Python interpreter
Open Spyder IDE and go to Tools –> Preferences –> Python Interpreter –> Select “use the following Python interpreter” –> add python.exe path –> apply
Step 3: Install spyder-kernels
Spyder requires a supported version of the spyder-kernels
package to be present in the working environment you want to run your console in. If this package is not installed, you will see the following error message:
To install spyder-kernels, open command prompt and type the command suggested in error message.
Restart Spyder application to implement the changes. After performing these step, i think you are ready to go.
I hope someone will find it useful, Thanks for reading 解析器,Python,installed,go,使用,following,interpreter,Spyder From: https://www.cnblogs.com/anyview/p/18151361