解决 cannot find reference 'LSHForest' in '__init__.py'

 

from sklearn.neighbors import LSHForest

 cannot find reference 'LSHForest' in '__init__.py'报错html

pip3 list #查看sklearn版本号,个人是0.21,这个版本过高了可能更名字了或者其余缘由网站

sudo pip3 uninstall  scikit-learn  #我以前安装的是sklearn,显示版本号是0.0也是直接卸载spa

sudo pip3 install scikit-learn==0.19.2  #在网站上搜发现这个版本有这个包 https://scikit-learn.org/stable/support.html#documentation-resourcesrest

相关文章
相关标签/搜索