oqc-community / qat

QAT is a quantum compiler and runtime focused on low-level, just-above-driver integration.
Other
37 stars 8 forks source link

Python 3.10 conflict #128

Closed rodrigo-oqc closed 2 weeks ago

rodrigo-oqc commented 2 weeks ago

When I use python 3.10 or higher and import anything from qat.purr.compiler.runtime, I get the following error

    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (C:\Program Files\Python310\lib\collections\__init__.py)

This does not happen if I use python 3.9 or lower

rodrigo-oqc commented 2 weeks ago

There is already a PR to fix this