ANACONDA RemoveError

ベイズ統計モデリングを扱うパッケージのpymc3をインストールしようとした時にエラーが出たので、その処理を覚書しておく。

エラーメッセージ

Preparing transaction: done
Verifying transaction: failed

RemoveError: 'requests' is a dependency of conda and cannot be removed from
conda's operating environment.
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.

pymc3のインストールと一緒に他のパッケージもアップデートしようとしたら、最後の最後に失敗した…的な?
 比較的マイルドな方法で試しても結局同じメッセージが出たので、強制的に再インストールし直すことにした。

conda update --update-deps conda <- 失敗
conda update -n base -c defaults conda <- 失敗

conda update --force-reinstall conda -y <- 成功
conda install pymc3

この記事が気に入ったらサポートをしてみませんか?