개인 공부
[오류 해결]ERROR: Could not find a version that satisfies the requirement tensorflow (from version: none)
토산인
2022. 11. 15. 15:47
cmd에서 pip 이용한 tensorflow 설치하기
pip install tensorflow 입력
ERROR: Could not find a version that satisfies the requirement tensorflow (from version: none)
ERROR: No matching distribution found for tensorflow
에러: 파이썬과 tensorflow간 버전이 맞지 않아 생긴 것 같다.
=> 파이썬을 다시 설치하면 될 것 같지만 귀찮아서 콘다를 사용했다. 콘다랑 파이썬 패키지 업데이트하고 conda 이용해 tensorflow를 설치하면 된다고 한다.
conda update -n base conda
conda update --all
tensorflow 1.9.0 버전 이상은 pip 대신에 conda를 사용한 tensorflow 설치를 권장한다고 한다.
conda install tensorflow
콘다를 업데이트하고 콘다로 tensorflow를 설치하니 됐다.