Skip to content

ImportError: cannot import name 'Iterable' from 'collections' in Python 3.10.5 #87

Description

@ishanwm

I just tried running the example in https://github.com/kyper-data/python-highcharts#example-usage in Python 3.10.5 and received error:

C:\Users\ihs\OneDrive - RWDI\work\misc\barnowl_data_processor>C:/Users/ihs/AppData/Local/Programs/Python/Python310/python.exe "c:/Users/ihs/OneDrive - RWDI/work/misc/barnowl_data_processor/barnowl_data_processor_ex4.py"
Traceback (most recent call last):
  File "c:\Users\ihs\OneDrive - RWDI\work\misc\barnowl_data_processor\barnowl_data_processor_ex4.py", line 6, in <module>
    from highcharts import Highchart
  File "C:\Users\ihs\AppData\Local\Programs\Python\Python310\lib\site-packages\highcharts\__init__.py", line 5, in <module>
    from .highcharts.highcharts import Highchart
  File "C:\Users\ihs\AppData\Local\Programs\Python\Python310\lib\site-packages\highcharts\highcharts\__init__.py", line 1, in <module>
    from .highcharts import Highchart
  File "C:\Users\ihs\AppData\Local\Programs\Python\Python310\lib\site-packages\highcharts\highcharts\highcharts.py", line 15, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (C:\Users\ihs\AppData\Local\Programs\Python\Python310\lib\collections\__init__.py)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions