mfouesneau / pyphot

suite to deal with passband photometry
https://mfouesneau.github.io/pyphot/
MIT License
57 stars 18 forks source link

ImportError: cannot import name 'Iterable' from 'collections' #47

Closed zzxihep closed 2 years ago

zzxihep commented 2 years ago

I installed pyphot using pip, and when I import pyphot, there is a ImportError

ImportError: cannot import name 'Iterable' from 'collections'

It seems like the code in the pint.py line:28 should adjust to

from collections.abc import Iterable
mfouesneau commented 2 years ago

596f43f should add python 3.10 tests now

mfouesneau commented 2 years ago

pull request #48 to fix this.