선발대

[에러] 아나콘다 환경에서 tensorflow 설치 본문

참고사항/에러노트

[에러] 아나콘다 환경에서 tensorflow 설치

신선한 스타트 2022. 2. 24. 13:53
에러상태

 

ImportError: cannot import name 'MomentumParameters' from 'tensorflow.python.tpu.tpu_embedding' (C:\anaconda3\envs\djangoProject\lib\site-packages\tensorflow\python\tpu\tpu_embedding.py)
forrtl: error (200): program aborting due to control-C event

 

 

이렇게 설치했더니 위와 같은 에러가 나왔다.

conda install tensorflow

 

 

해결방안

 

conda install tensorflow==2.3.0 tensorflow-estimator=2.3.0

튜터님이 알려주신 위의 명령어를 터미널에 입력했더니 오류 없이 서버가 잘 작동하였다!

Comments