安装完sklearn后在跑程序时报错UserWarning: The NumPy module was reloaded (imported a second time). This can in some cases result in small but subtle issues and is discouraged.
解决方法:pip uninstall sklearn先将sklearn的库卸载掉,查看此时的numpy库版本
然后卸载掉此时仍然存在的numpy库
最后重新使用conda install scikit-learn语句进行安装即可