Python code image in 3.9 Tried doing all these as shown, but didn't work
Asked
Active
Viewed 105 times
0
-
Well that's too bad - what exactly is the problem? And [please don't share your code as an image](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question). – Grismar Jan 17 '22 at 07:38
-
You have to type `pip install sklearn` on the Terminal, not IDEL. see https://stackoverflow.com/questions/1449494/how-do-i-install-python-packages-on-windows – Park Jan 17 '22 at 07:40
-
Are you running a python script, a python shell or is this all a Jupyter notebook? It's hard to tell from the image, but it looks like you're in a python shell and trying to install stuff in a way suitable for Google Colabs (i.e. `!pip`). Try stepping out of the shell to install the packages? – Pam Jan 17 '22 at 07:42
1 Answers
0
You have to type pip install sklearn
on the Command Prompt on Windows, not IDEL.
How to execute your Command Prompt?
Then, how to install a python module, such as sklearn?
If you still do not have an idea how to do it, then watch following video:

Park
- 2,446
- 1
- 16
- 25