ModuleNotFoundError: No module named 'matplotib'
ModuleNotFoundError: No module named 'matplotib'
我已经使用 pip install matplotlib
下载了 matplotlib 模块,但遇到了这个错误
Traceback (most recent call last):
File "c:/Users/good pc/Documents/Jarvis/Machine_learning_model.py", line 3, in <module>
import matplotib.pyplot as plt
ModuleNotFoundError: No module named 'matplotib'
如果需要我已经写了这段代码
import pandas as pd
import numpy as np
import matplotib.pyplot as plt
a = pd.read_csv("iris.csv")
pd.head()
我不知道为什么会出现此错误,因为我的 vscode.
中已经下载了 matplotlib
python 版本 3.7.3
提前致谢!!!
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
a = pd.read_csv("iris.csv")
""" The pandas module has no function pd.head().
You can only call .head() on e.g.
a DataFrame of pandas so in this case you need to use a.head()"""
#pd.head()
我已经使用 pip install matplotlib
下载了 matplotlib 模块,但遇到了这个错误
Traceback (most recent call last):
File "c:/Users/good pc/Documents/Jarvis/Machine_learning_model.py", line 3, in <module>
import matplotib.pyplot as plt
ModuleNotFoundError: No module named 'matplotib'
如果需要我已经写了这段代码
import pandas as pd
import numpy as np
import matplotib.pyplot as plt
a = pd.read_csv("iris.csv")
pd.head()
我不知道为什么会出现此错误,因为我的 vscode.
中已经下载了 matplotlibpython 版本 3.7.3
提前致谢!!!
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
a = pd.read_csv("iris.csv")
""" The pandas module has no function pd.head().
You can only call .head() on e.g.
a DataFrame of pandas so in this case you need to use a.head()"""
#pd.head()