admin管理员组

文章数量:1345733

I am a complete beginner to Python programming. I am working on Windows 11 on my home PC. I have installed Python version 3.13 & matplotlib version 3.10.0.

I get:

module not found

error when I issue the command import matplotlib.pyplot as plt. I am wondering if I have installed matplotlib in a folder that Python does not know about?

my Python.exe file is located at:

C:\Users\16139\AppData\Local\Programs\Python\Python313

while my matplotlib is located at:

C:\Users\16139\AppData\Local\Programs\Python\Python313\Lib\site-packages

I am using Mu version 1.2.0 as my editor. I do notice that I see another version of Python (3.8.12) in this location:

C:\Users\16139\AppData\Local\Programs\Mu Editor\Python

I did set an Environment Variable named Path to point to:

C:\Users\16139\AppData\Local\Programs\Python\Python313

Any help with sorting this out would be greatly appreciated!

本文标签: pythonError ModuleNotFoundError No module named 39matplotlib39Stack Overflow