Reputation: 6845
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.
Upvotes: 3
Views: 10010
Reputation: 9566
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.
Upvotes: 7