Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pip Install Not working with Scikit-Learn

When I tried entering pip install scikit-learn on Python shell, I got the "invalid syntax" message. I already have Scipy and Numpy installed so there shouldn't be any depedency issues. What's wrong? And I am still new to Python so I don't want to manually install the module. I am using Python 2.7 on Vista 32-bit.

Thanks for helping.

like image 723
Concerned_Citizen Avatar asked May 10 '26 21:05

Concerned_Citizen


1 Answers

If you installed everything using windows executable (.exe files) you should also install this as an executable available for download here - Scikit Learn Executables

Or,

The python shell is not the place to run pip commands. So open the command line terminal in windows and do pip install -U scikit-learn

Then go to python shell and import it.

like image 121
Pratik Mandrekar Avatar answered May 12 '26 12:05

Pratik Mandrekar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!