Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

개발 블로그

[오류 해결]ERROR: Could not find a version that satisfies the requirement tensorflow (from version: none) 본문

개인 공부

[오류 해결]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를 설치하니 됐다.