Problems with installing and using scikit-learn in Anaconda

后端 未结 2 569
名媛妹妹
名媛妹妹 2021-01-16 04:18

I installed Anaconda on 64bit windows and I also installed scikit-learn using \"conda install scikit-learn\". However I can\'t find scikit-learn when I print out all modules

2条回答
  •  爱一瞬间的悲伤
    2021-01-16 04:56

    If it still does not work then try to activate environment which is by default root, if you have not created separate environment while installing.

    Just run from cmd : activate {env_name}

    For your case, it would be : activate root then run simple python file to check scikit-learn is imported or not.

    demo.py

    import sklearn

    See output in image below :

    enter image description here

提交回复
热议问题