Computer Vision/Deep Learning
no module named 'tensorflow' error 해결
Color Pine
2020. 9. 27. 17:12
아나콘다의 가상환경에서 python 파일을 실행하는데, 분명 tensorflow 1.14가 깔려있음에도 no module named tensorflow 에러와 numpy 경고가 났다.
Process finished with exit code -1073741819 (0xC0000005) 라는 에러와 함께 종료되어서
처음부터 다시 깔아야되나? 했는데
속는셈 치고 넘파이를 다운그레이드 시켰더니 해결되었다.
pip install "numpy < 1.17"
Installing collected packages: numpy
Found existing installation: numpy 1.19.0
Uninstalling numpy-1.19.0:
Successfully uninstalled numpy-1.19.0
Successfully installed numpy-1.16.6
1.17 이하 버전으로 다운그레이드 시켰더니, 기존 1.19 가 삭제되고 1.16이 새로 깔렸다
그랬더니 no module named tensorflow 에러도 해결되었다! 야호