【发布时间】:2020-12-01 23:27:55
【问题描述】:
我正在尝试使用 matplotlib.pyplot 库绘制直方图。
from matplotlib import pyplot as plt
plt.hist(df["xxx"])
当我尝试导入该库时出现错误:
ImportError: cannot import name 'imaging' from 'PIL'(C:\Users\Taras\AppData\Roaming\Python\Python38\site-packages\PIL_init.py)
我正在使用 Anaconda 和 Jupyter Notebook。
【问题讨论】:
标签: python matplotlib jupyter-notebook anaconda importerror