安装sklearn中出现“Defaulting to user installation because normal site-packages is not writeable“

 在spyder中安装sklearn

pip install sklearn

会出现"Defaulting to user installation because normal site-packages is not writeable"的报错,同时如果通过别的方法安装,会安装为sklearn-0.0.post1.dist-info。

原因:安装错包

更改:

pip install scikit_learn

这样即可

你可能感兴趣的:(python,开发语言)