Python installed, sklearn installed but import does not work

the import command doesnt seem to work 

for examples:



PS C:\scripts\PS1> pip list

Package             Version

------------------- -------

absl-py             0.7.0

astor               0.7.1

gast                0.2.2

grpcio              1.18.0

Keras-Applications  1.0.6

Keras-Preprocessing 1.0.5

Markdown            3.0.1

numpy               1.14.5

pip                 19.0.3

protobuf            3.6.1

scikit-learn        0.20.3

scipy               1.2.1

setuptools          39.1.0

six                 1.12.0

sklearn             0.0

tensorboard         1.10.0

tensorflow          1.10.0

termcolor           1.1.0

virtualenv          16.3.0

Werkzeug            0.14.1

wheel               0.32.3

PS C:\scripts\PS1> import panda as pd

import : The term 'import' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is

correct and try again.

At line:1 char:1

  • import panda as pd

    + CategoryInfo          : ObjectNotFound: (import:String) , CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException



PS C:\scripts\PS1>

It seems like the spelling of pandas is incorrect. You can try: import pandas as pd.



If it doesn't work it is recommended that to import these libraries in Jupyter or Spyder as the error messages there are more user-friendly.



In case you are still facing the issue then share the screenshot of error message and code with us to investigate further.