Generally, errors will be reported when using the pyechards library for higher versions of Python:
cannot import name ‘iteratable’ from ‘collections’
Solution:
go to the directory where the pyecarts library is installed, enter the pyecarts file, open render, and continue to open engine Py file, where you can find the following code:
from collections import Iterable
Change to the following code:
from collections.abc import Iterable
Call through the following command, and no error will be reported again
from collections.abc import Iterable
Read More:
- [Solved] Python 3.7 from collections import Iterable Error
- [Solved] Python Using or importing the ABCs from ‘collections‘ instead of from ‘collections.abc‘ is deprecate
- Python Import Error: SystemError: Parent module ‘‘ not loaded, cannot perform relative import
- Python 3 uses the relative path import module
- [Mac Pro M1] Python3.9 import cv2 Error: Reason: image not found
- How to Solve Python ImportError: cannot import name UnrewindableBodyError
- [Solved] Python Project Import Module Error: ModuleNotFoundError
- ‘coroutine‘ object is not iterable [How to Solve]
- Solution for Python3.7 import gevent module error
- Solve the problem of error reporting from scipy.misc import imread & imresize in Python
- Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=‘/tmp/pip-cus9V0-build/setup.py
- [Solved] Python Relative Reference Error: ImportError: attempted relative import with no known parent package
- [Solved] pycharm Import New Project Error: cannot set up a python sdk
- [Solved] From pip._internal import cmdoptions ImportError: cannot import name SourceDistribution
- Python failed to import pyx file [How to Solve]
- How to Solve Python Pandas Read or Import Files Error
- Raspberry pie import opencv error: ImportError: numpy.core.multiarray failed to import
- [Solved] OpenCV Import Error: ImportError: numpy.core.multiarray failed to import
- Python ImportError: numpy.core.multiarray failed to import
- Keras import package error: importerror: cannot import name ‘get_ config‘