解释/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/__init__.py:107: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import MutableMapping /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/rcsetup.py:20: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Mapping /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/matplotlib/colors.py:53: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Sized
时间: 2024-01-17 16:05:36 浏览: 264
解决-BASH: /HOME/JAVA/JDK1.8.0_221/BIN/JAVA: 权限不够问题
这段警告信息是在使用 Matplotlib 库时出现的,其中的 DeprecationWarning 告诉我们使用或导入 'collections' 中的 ABCs 而不是从 'collections.abc' 中导入是不推荐的。在 Python 3.8 中,这种用法将停止工作。通常情况下,这些警告可以忽略,因为它们不会影响代码的运行。但如果你想避免这些警告,可以使用 'collections.abc' 中的 ABCs,而不是从 'collections' 中导入。
阅读全文