PIL,Pillow, ImportError: The _imaging extension was built for another version of pillow or PIL
에러내용: ImportError: The _imaging extension was built for another version of pillow or PIL 에러발생코드: from PIL import Image (이 밖에 PIL Image 를 사용하는 모든 모듈 포함. 나의 경우 wordcloud 였다.) 결론: Conda install 과 pip install 각각에 Pillow 가 설치되어있음으로써 생기는 에러. conda 환경과 pip 환경 각각에 Pillow 가 설치되어 있으면, Pillow 내의 PIL 관련 코드로 인해 오류가 발생한다. conda uninstall Pillow, pip uninstall Pillow 로 전부 uninstall 하고, 새로 설치함으로써 해결한다. 개발환경: An..
Python (Data)
2018. 2. 27. 16:12