I’m trying to import Matplotlib but I keep getting import error with the following message
“If you are a user of the module, the easiest solution will be to
downgrade to ‘numpy<2’ or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.”
this is the version my the packages installed (using pip list)
matplotlib 3.9.0
matplotlib-inline 0.1.7
numpy 1.26.4
anyone know how i can fix this import error?
Tried uninstalling both the packages and installing compatible versions, but error still persisted
Deleted my virtual environment and installed the correct version in a clean new environment, error still persisted
Expected the error to get fixed and Matplotlib to get imported
wanderer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.