Python Forum
ModulNotFoundError matplotlib
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModulNotFoundError matplotlib
#8
(Apr-26-2024, 04:59 PM)deanhystad Wrote: You can do "pip list" to see a list of packages installed using pip. There's also no harm in reinstalling.

pip install matplotlib should print a lot of stuff
Output:
c:\projects\bergen>pip install matplotlib Collecting matplotlib Downloading matplotlib-3.8.4-cp311-cp311-win_amd64.whl.metadata (5.9 kB) Collecting contourpy>=1.0.1 (from matplotlib) Downloading contourpy-1.2.1-cp311-cp311-win_amd64.whl.metadata (5.8 kB) Collecting cycler>=0.10 (from matplotlib) Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib) Downloading fonttools-4.51.0-cp311-cp311-win_amd64.whl.metadata (162 kB) .... and on and on and on... Installing collected packages: python-dateutil, pillow, kiwisolver, fonttools, cycler, contourpy, matplotlib Successfully installed contourpy-1.2.1 cycler-0.12.1 fonttools-4.51.0 kiwisolver-1.4.5 matplotlib-3.8.4 pillow-10.3.0 python-dateutil-2.9.0.post0
If already installed, the output is a lot shorter
Output:
c:\projects\bergen>pip install matplotlib Requirement already satisfied: matplotlib in c:\projects\bergen\.venv\lib\site-packages (3.8.4) Requirement already satisfied: contourpy>=1.0.1 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (1.2.1) Requirement already satisfied: cycler>=0.10 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (4.51.0) Requirement already satisfied: kiwisolver>=1.3.1 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (1.4.5) Requirement already satisfied: numpy>=1.21 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (1.26.4) Requirement already satisfied: packaging>=20.0 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (24.0) Requirement already satisfied: pillow>=8 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (10.3.0) Requirement already satisfied: pyparsing>=2.3.1 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (3.1.2) Requirement already satisfied: python-dateutil>=2.7 in c:\projects\bergen\.venv\lib\site-packages (from matplotlib) (2.9.0.post0) Requirement already satisfied: six>=1.5 in c:\projects\bergen\.venv\lib\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
Yes, thanks, maybe in those details there's an indication of what's wrong, wouldn't mind your opinion
Output:
C:\Users\richb>pip install matplotlib Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: matplotlib in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (3.8.4) Requirement already satisfied: contourpy>=1.0.1 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (1.2.1) Requirement already satisfied: cycler>=0.10 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (4.51.0) Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (1.4.5) Requirement already satisfied: numpy>=1.21 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (1.26.4) Requirement already satisfied: packaging>=20.0 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (24.0) Requirement already satisfied: pillow>=8 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (10.3.0) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (3.1.2) Requirement already satisfied: python-dateutil>=2.7 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from matplotlib) (2.9.0.post0) Requirement already satisfied: six>=1.5 in c:\users\richb\appdata\local\packages\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\localcache\local-packages\python312\site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
Reply


Messages In This Thread
ModulNotFoundError matplotlib - by WicardBohnam - Apr-26-2024, 12:05 AM
RE: ModulNotFoundError matplotlib - by deanhystad - Apr-26-2024, 01:14 AM
RE: ModulNotFoundError matplotlib - by WicardBohnam - Apr-26-2024, 04:16 PM
RE: ModulNotFoundError matplotlib - by deanhystad - Apr-26-2024, 04:36 PM
RE: ModulNotFoundError matplotlib - by WicardBohnam - Apr-26-2024, 04:49 PM
RE: ModulNotFoundError matplotlib - by deanhystad - Apr-26-2024, 04:59 PM
RE: ModulNotFoundError matplotlib - by WicardBohnam - Apr-26-2024, 05:13 PM
RE: ModulNotFoundError matplotlib - by snippsat - Apr-26-2024, 05:07 PM
RE: ModulNotFoundError matplotlib - by snippsat - Apr-26-2024, 05:38 PM
RE: ModulNotFoundError matplotlib - by WicardBohnam - Apr-27-2024, 01:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Matplotlib: How do I convert Dates from Excel to use in Matplotlib JaneTan 1 3,405 Mar-11-2021, 10:52 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020