Python Forum
Using SK Learn Library with Spyder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using SK Learn Library with Spyder
#2
It sounds like you are running into environment problems. Spyder is likely running in an environment that does not include your sklearn library.

Are you using Anaconda? venv?

What is probably your easiest solution is installing Spyder with Anaconda, then use Anaconda to create an environment for your project (this is good form, not required). Then using cmd as an administrator you pip install sklearn. Add it to your new environment (if you created one) and you are set.
Reply


Messages In This Thread
Using SK Learn Library with Spyder - by johnfa - Jun-02-2021, 01:17 PM
RE: Using SK Learn Library with Spyder - by jefsummers - Jun-02-2021, 02:18 PM
RE: Using SK Learn Library with Spyder - by johnfa - Jun-03-2021, 09:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 5,779 May-06-2017, 11:29 AM
Last Post: harun2525
  How to add python library to Spyder awa5114 4 68,026 Apr-29-2017, 04:19 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020