About 51 results
Open links in new tab
  1. VSCode says there is no module 'matplotlib' - Stack Overflow

    Oct 27, 2021 · Are you sure you selected the correct python interpreter in VS Code? (look bottom left) There might be more than one python interpreter and you may happen to install matplotlib to another …

  2. python - import matplotlib & Visual Studio Code - Stack Overflow

    Sep 23, 2020 · However, I do know that I have matplotlib installed on Anaconda, as trying to install it using pip tells me that Requirement already satisfied. I'm using Visual Studio Code with Python 3.7.6 …

  3. matplotlib - Python - How to show graph in Visual Studio Code itself ...

    Apr 24, 2018 · import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np x = np.linspace(0, 20, 100) plt.plot(x, np.sin(x)) plt.show() I see the result in a new window. Is there any …

  4. python - VSCode: Cannot 'import matplotlib' - Stack Overflow

    Apr 6, 2019 · pip install matplotlib Remember that when you want to use the Matplotlib library in your code, make sure you have selected the interpreter where you previously ran the command pip install …

  5. Visual studio code python numpy matplotlib - Stack Overflow

    May 16, 2021 · 0 hi I installed matplotlib in vs code on Windows 10 when I installed matplotlib it worked but when I run a simple program I get this import tkinter as tk.py", line 2, in import matplotlib.pyplot as …

  6. python - Import matplotlib's pyplot fails on visual studio code with ...

    Aug 14, 2019 · 2 I'm using anaconda as my python package manager and Visual Studio Code as my python IDE. While I'm able to see and select the virtual environment from VS code, I'm unable to …

  7. Matplotlib plots not showing in VS Code - Stack Overflow

    Feb 9, 2021 · I am running Windows 10 and when I run a script that use matplotlib.pyplot to create a plot, no plot is created if I run in the embedded terminal (either bash or powershell) in vscode. …

  8. How to show Matplotlib graph in VS Code? - Stack Overflow

    Jan 27, 2024 · $ python -m pip install --user matplotlib The book I'm following says that, "The function plt.show() opens Matplotlib's viewer and displays the plot as shown in Figure 15-1. The viewer allows …

  9. How to install Python packages for a VS Code virtual environment?

    Apr 5, 2023 · 4 When I follow the command in the VS Code Python tutorial to install a package in the virtual environment, the script only runs successfully using the global interpreter, not the newly …

  10. python - Why do I get a "ModuleNotFoundError" in VS Code despite …

    Jun 19, 2019 · 55 sudo pip install is most likely installing globally into a Python interpreter that is different than the one that you have selected in VS Code.