Kein Modul namens 'Matplotlib' im Visual Studio 2022 Python ProjectPython

Python-Programme
Anonymous
 Kein Modul namens 'Matplotlib' im Visual Studio 2022 Python Project

Post by Anonymous »

Ich benutze Windows. Ich habe die folgenden Befehle in der Eingabeaufforderung ausgeführt: < /p>

Code: Select all

python -m pip install matplotlib.
pip3 install matplotlib
< /code>
, aber gegen 2022 erkennt die Matplotlib nicht.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()

Wenn ich die Installation überprüfe, heißt es, dass es bereits installiert ist:

Code: Select all

C:\Users\Dell>python --version
Python 3.13.1

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post