深層学習とその他

機械学習したいマン

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.というエラーが出る

gensimをインストールするときに、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 uninstall scipy"を使っても同様のエラーがでるだけです。
以下のオプションをつけることで正しくインストールできました。

!pip install scipy --ignore-installed

これは強制的な解決方法なので、できればインストールした際の方法でアンインストールするのが一番かもしれません。