Installing and using scikit-learn - Google Groups
groups.google.com › g › spyderlibMay 18, 2021 · To use sklearn and other data science libraries with the latest version of Spyder 5 you need to create a conda environment. I recommend cloning the base conda environment. To make the environment appropriate for Spyder 5 you need to remove the old spyder-kernels (for Spyder 4) and install the latest ones from conda forge (for Spyder 5).