너는 나의 에너지

tensorflow : python tensorflow 설치 시 에러

손민희 2020. 3. 6. 14:33

 

tensorflow 설치 중간에 아래와 같은 에러가 발생했다. 

 

*ERROR : Cannot uninstall 'wrapt'. 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. 

 

stackoverflow를 보니 기존의 wrapt 패키지와의 충돌로 인한 문제인 것 같았다. 

 

C:\~\Anaconda3\Lib\site-packages 폴더 내의 wrapt 폴더와 wrapt-1.10.1-py3.6.egg-info 파일을 잠시 다른 곳으로 옮겨준 뒤 tensorflow를 재설치하니 해결됐다.