简体   繁体   中英

sklearn missing from dist-packages

I needed to use the latest version of the sklearn which includes MLP. I had installed sklearn through pip but it didn't go for latest version. so I downloaded the dev version trying to build/install it manually, but it didn't work and still, MLP is missing from the neural network. I decided to remove sklearn, but it was only possible by using conda ( as they have mentioned in their website) and as am stupid, I removed the sklearn folder from dist-packages ( i couldn't use conda). now there is no sklearn folder there, but python is still able to import it( i don't know from where) and I can't install the dev version. I need first, remove sklearn totally from the system, then install the dev version somehow. any help would be appreciated

如果您使用的是 Windows,请在 Linux 或 Mac 中输入命令提示符/终端

pip install scikit-learn --upgrade

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM