when i use download zipcode my dataset on roboflow. I got error AttributeError: module ‘pillow_heif’ has no attribute ‘register_avif_opener’
1 Like
Lib pillow-heif dropped support for AVIF, released today.
As a quick fix, you can install pillow-heif<1.0
, we’ll fix it properly soon.
any specific version? i tried with that but still getting the same error
Successfully installed pillow-heif-0.22.0
I’ll test it properly tomorrow, but their changelog says it was dropped in 1.0. Should work with 0.22.
I validated today, it should work (or at least fail with a different error) on 0.22.
>>> import pillow_heif
>>> pillow_heif.__version__
'0.22.0'
>>> pillow_heif.register_avif_opener
<function register_avif_opener at 0xffff942d6980>
For tracking, there is an issue in roboflow repository.
Fixed in latest roboflow
Python package release (v1.1.67).