【Sklearn】 No module named 'scipy.sparse._sparsetools'

原因应该是我升级了python3.6

但是scipy是python3.5安装的

uninstall 报错

root@uma:/home/uma# pip3 uninstall scipy
Cannot uninstall 'scipy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

使用命令安装即可

pip install scipy --ignore-installed scipy

你可能感兴趣的:(【Sklearn】 No module named 'scipy.sparse._sparsetools')