본문 바로가기
공부/Python

Anaconda아나콘다 패키지 설치 에러 해결법

by goodsell 2020. 6. 11.

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from

 

conda's operating environment.

 

 

아나콘다에서 패키지 설치 혹은 업데이트 진행시 다음과 같은 에러가 발생하는 경우가 있다.

 

강제적으로 아나콘다 업데이트를 진행하여 해결 가능하다.

 

 

1
2
3
!conda update --force conda
!conda update anaconda
!conda update conda
cs

 

1: 강제 업데이트

3: 업데이트 확인 (이미 완료되었다고 뜰 것이다.)

 

이후 다시 패키지 설치를 진행해보면 정상적으로 된다.

 

 

출처 : https://stackoverflow.com/questions/57549872/removeerror-setuptools-is-a-dependency-of-conda-and-cannot-be-removed-from-co