Re: matplotlib
Mats Wichmann <[email protected]> Sun, 23 Mar 2025 17:53:34 -0600
| Newsgroups | gmane.comp.python.tutor |
|---|---|
| Message-ID | <[email protected]> |
On 3/21/25 18:50, Casey Brady via Tutor wrote: > I have matplotlib installed but I am getting a module not found error? This means it's not in the place where the interpreter you're using is looking for it. Each Python interpreter (and virtual environment, if you're using those) maintains its own set of paths for modules it will find. If there's a mismatch between the Python you're using and the version of Python the pip command is associated with, then no workee. Usually the quickest way to check this out is to use pip as a module, rather than as a standalone command. So if the Python you're using is named "python", then: python -m pip install matplotlib adjust the name of the interpreter as needed (if you're on windows it's probably "py"). _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor