admin管理员组文章数量:1392059
I am using Windows. I executed the below commands on the command prompt:
python -m pip install matplotlib.
pip3 install matplotlib
But VS 2022 is not recognizing the matplotlib.
Below is the code:
import matplotlib.pyplot as plt
import numpy as np
xpoints = np.array([0, 6])
ypoints = np.array([0, 250])
plt.plot(xpoints, ypoints)
plt.show()
When I verify the installation, it says its already installed:
C:\Users\Dell>python --version
Python 3.13.1
本文标签: No module named 39matplotlib39 in visual studio 2022 python projectStack Overflow
版权声明:本文标题:No module named 'matplotlib' in visual studio 2022 python project - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744783250a2624841.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论