Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception raised when importing in Python 3.10 because of "MutableSequence". #25

Closed
kalgecin opened this issue Jan 3, 2022 · 1 comment

Comments

@kalgecin
Copy link

kalgecin commented Jan 3, 2022

File "/home/kalgecin/.local/lib/python3.10/site-packages/colour_hdri/__init__.py", line 33, in <module>
  from .utilities import (EXIF_EXECUTABLE, ExifTag, Image, ImageStack, Metadata,
File "/home/kalgecin/.local/lib/python3.10/site-packages/colour_hdri/utilities/__init__.py", line 10, in <module>
  from .image import Metadata, Image, ImageStack
File "/home/kalgecin/.local/lib/python3.10/site-packages/colour_hdri/utilities/image.py", line 17, in <module>
  from collections import MutableSequence
ImportError: cannot import name 'MutableSequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

python 3.10 moved collections to collections.abc from what i can tell

@KelSolaar
Copy link
Member

Hi @kalgecin,

This one should be fixed!

Cheers,

Thomas

@KelSolaar KelSolaar added this to the v0.2.0 milestone Feb 26, 2022
@KelSolaar KelSolaar changed the title Python 3.10 collections import Exception raised when importing in Python 3.10 because of "MutableSequence". Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants