Studying/Deep Learning

파이썬 텐서플로우 에러 해결 :: CondaUpgradeError: This environment has previously been operated on by a conda version that's newerthan the conda currently being used. A newer version of conda is required. target environment location: 에러..

wakeandweep 2020. 7. 9. 23:57
728x90

열심히 텐서플로우 딥러닝 환경을 셋팅하다 어김없이 또~ 새로운 에러를 만났습니다... ㅎ.... 

 

 

CondaUpgradeError: This environment has previously been operated on by a conda version that's newer
than the conda currently being used. A newer version of conda is required.
  target environment location: C:\ProgramData\Anaconda3\envs\py36
  current conda version: 4.5.12
  minimum conda version: 4.8

 

.... 구글링 해보니 4.5.12 버전에서 유난히 업그레이드에 문제가 많이 생기나봐여... 

 

무튼 이것저것 해보다가 해결한 방법은

 

.cordarc 파일을 찾아서 allow_conda_downgrades: true를 추가해주는 거였습니다... 

 

저같은 경우에 C:\Users\Administrator에 위치한 .cordarc파일을 visual studio로 열어서 추가했습니다! 

 

 

다음 conda update conda를 입력하니 아나콘다가 업데이트 되었고 

 

다시한번 conda -V로 버전을 확인하니 다음과 같이 4.8.3으로 업데이트 되었습니다~