Notice
Link
Recent Posts
Recent Comments
- Today
- Total
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- sql
- 역전파
- HackerRank
- gpt-api에러
- 딥러닝 역사
- 딥러닝 개요
- 행렬
- 프로그래머스 SQL
- MySQL
- ERROR: install is not COMMAND nor fully qualified CLASSNAME.
- npm install -g yarn 에러
- yarn 설치 에러
- map
- 컴퓨터통신
- 쉽게 배우는 데이터 통신과 컴퓨터 네트워크 답지
- 부스트캠프ai
- TabNet
- 컴퓨터 통신
- 부스트캠프
- inner join
- 코딩테스트
- NumPy
- pre-course
- 연관분석
- python
- 쉽게 배우는 데이터 통신과 컴퓨터 네트워크
- pandas
- 깃
- 프로그래머스
- gpt-api
Archives
최말짱 블로그
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' 본문
728x90
pytorch-template을 통해 MNIST 예제를 실행하던 도중 발생한 에러
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
찾아보니 PIL(10.0.0)에는 더이상 ANIALIAS 모듈이 사용되지 않는다고 한다.
그래서 PIL을 9.5로 다운그레이드 해주면 해결 할 수 있다.
# 9.5 버전으로 다운그레이드 해주기
pip install --force-reinstall -v "Pillow==9.5.0"
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
Trying to have images in my Tkinter GUI, hence using PIL. Image.ANTIALAIS is not working, however Image.BILINEAR works Here's some sample code: import tkinter as tk from PIL import Image, ImageTk
stackoverflow.com
'에러정리' 카테고리의 다른 글
[gpt-api] openai.ratelimiterror: error code: 429 (0) | 2024.05.14 |
---|---|
typeerror: no loop matching the specified signature and casting was found for ufunc greater (0) | 2023.12.05 |
맥 python 실행 오류 zsh: no matches found (0) | 2023.01.18 |
ModuleNotFoundError: No module named 'sklearn.impute' (0) | 2022.12.27 |
[node-js]npm ERR! Error: EACCES: permission denied (0) | 2022.12.22 |