from sklearn.neighbors import LSHForest
cannot find reference 'LSHForest' in '__init__.py'报错
pip3 list #查看sklearn版本号,我的是0.21,这个版本太高了可能改名字了或者其他原因
sudo pip3 uninstall scikit-learn #我之前安装的是sklearn,显示版本号是0.0也是直接卸载
sudo pip3 install scikit-learn==0.19.2 #在网站上搜发现这个版本有这个包 https://scikit-learn.org/stable/support.html#documentation-resources