最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Error ModuleNotFoundError: No module named 'matplotlib' - Stack Overflow

programmeradmin3浏览0评论

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!

发布评论

评论列表(0)

  1. 暂无评论