[Python] AttributeError: module 'PIL.Image' has no attribute 'Resampling' 에러 해결

2024. 2. 19. 10:43·프로그래밍/Etc

0. 개발환경

- Windows 10

- Python 3.9.13

 

1. 해결방법

- Pillow library 버전 문제로 아래와 같이 설치된 라이브러리 버전을 바꾸면 간단히 해결된다

- 해당 에러가 뜨지 않는 버전은 9.1.0~9.3.0 사이의 버전이다. 그 이상이나 이전 버전 설치 시 동일 에러가 발생 될 수 있다

pip install Pillow==9.1.0
저작자표시 (새창열림)

'프로그래밍 > Etc' 카테고리의 다른 글

[Python] pip install error: externally-managed-environment 해결 방법  (0) 2025.06.26
[Python] E: Unable to locate package python3-pip 에러 해결  (0) 2025.06.25
[Python] Linux(CentOS 7.8)에 Python 3 설치  (0) 2024.12.30
[Protocol Buffer] Windows 에서 프로토콜 버퍼 컴파일 없이 쉽게 설치하기  (0) 2023.06.18
[Python]스크립트 코드 내에서 파이썬 버전 확인 방법  (0) 2022.01.16
'프로그래밍/Etc' 카테고리의 다른 글
  • [Python] E: Unable to locate package python3-pip 에러 해결
  • [Python] Linux(CentOS 7.8)에 Python 3 설치
  • [Protocol Buffer] Windows 에서 프로토콜 버퍼 컴파일 없이 쉽게 설치하기
  • [Python]스크립트 코드 내에서 파이썬 버전 확인 방법
써니의 연습장
써니의 연습장
IT, AI, 일상, 경제 등..
  • 써니의 연습장
    써니의 연습장
    써니의 연습장
  • 전체
    오늘
    어제
    • 분류 전체보기 (25)
      • 프로그래밍 (25)
        • Python (0)
        • AI (3)
        • DataBase (0)
        • Streamlit (4)
        • Pandas (0)
        • Tensorflow (1)
        • Etc (6)
        • PostgreSql (5)
        • Ubuntu (1)
        • Nginx (2)
        • Node.js (2)
        • Git (1)
        • Backend (0)
      • 게임 (0)
      • 골프 (0)
      • 리뷰 (0)
  • 블로그 메뉴

    • 홈
    • 프로그래밍
    • 게임
    • 골프
    • 리뷰
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    cudart64_110.dll
    centos7
    protoc #protocolbuffers
    ubuntu #port forwarding #우분투 #포트 포워딩
    ubuntu
    theme
    ncp
    Python
    PostgreSQL
    nginx
    Github #Clone
    python3.10
    certbot
    ubuntu22.4
    PIP
    python3.12
    Lets Encrypt
    Streamlit
    sam
    Python #Pillow
    cvat
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
써니의 연습장
[Python] AttributeError: module 'PIL.Image' has no attribute 'Resampling' 에러 해결
상단으로

티스토리툴바