Windows using conda environments in spyder
In Anaconda Prompt
conda create -n newEnv
conda activate newEnv - y
conda install spyder-kernels -y
conda install ...
where python
Copy the Python environment path.
In Spyder Editor
Tools –> Preferences –> Python interpreter –> Use the following Python interpreter
–> Paste Python path – > Apply –> Ok –> restart