ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • No matching distribution found for tensorflow==1.X 에러
    카테고리 없음 2023. 10. 18. 21:02

    인공지능 프로젝트에 사용할 모델이 tensorflow 1.4.1 버전을 사용하여 install을 시도했는데 에러 발생

    pip install tensorflow==1.4.1

     

    tensorflow 2.X  버전만 사용할 수 있다고 하여 찾아보던 중

    ERROR: Could not find a version that satisfies the requirement tensorflow==1.4.1 
    (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, ..., 2.14.0rc1, 2.14.0)
    ERROR: No matching distribution found for tensorflow==1.4.1

     

    tensorflow 공식홈페이지에서 tensorflow-hub를 이용하여 설치할 수 있다고 했지만

    ...그래도 동일한 오류발생

     

    tensorflow 공식 홈페이지

     

     

    원인은 python 버전에 따라서 설치할 수 있는 tensorflow 버전이 다르다.

     

    현재 버전은 python 3.11.0 버전이고, python 3.7에서 tensorflow 1.15버전을 설치할 수 있다고 함.

    # python version downgrade 후 설치할 수 있는 tensorflow 버전
    ERROR: Could not find a version that satisfies the requirement 
    (from versions: 1.13.1, 1.13.2, 1.14.0, 1.15.0, ..., 1.15.5, ..., 2.11.0rc2, 2.11.0)

     

    따라서 python 버전을 3.7로 낮추고 시도하면 정상 설치된다

Designed by Tistory.