输入
from matplotlib import pyplot as plt
报错
Traceback (most recent call last):
File "F:/python/shujufenxi/matplotlib.py", line 1, in
from matplotlib import pyplot as plt
File "F:\python\shujufenxi\matplotlib.py", line 1, in
from matplotlib import pyplot as plt
ImportError: cannot import name 'pyplot' from partially initialized module 'matplotlib' (most likely due to a circular import) (F:\python\shujufenxi\matplotlib.py)
安装了anaconda,请问这是为什么
字面意思是递归import。。看了一下末尾,你的这个py文件名改一下吧。。