Matplotlib Installation issues with Python 3.10
Not totally sure, but I ran into the same issue. After some digging and testing I think I've found out that Matplotlib, and pylab aren't compatible with python3.10 yet. For the time being I've kept python3.9 along with 3.10 so whenever I use matplotlib, numpy, or pylab, I just use version 3.9.
Python, Error while installing matplotlib
edit: matplotlib has now released wheels for python 3.9 so pip install --upgrade matplotlib
should work.
original answer
matplotlib hasn't made a wheel yet for version 3.9 so your python attempted to build it from source. You should downgrade to python 3.8 and then everything should work
Cannot install Matplotlib on Python 3.10
Matplotlib doesn't support Python 3.10 at the moment, so you have the following options.
- See this answer for detailed instructions to downgrade to Python 3.9.
- Install the pre-release version of Matplotlib which does support Python 3.10. This can be done with the command
pip install matplotlib==3.5.0rc1
(and is what I would recommend doing).
Related Topics
How to Use Tailwindcss with Django
Does Python Have a Module to Convert CSS Styles to Inline Styles for Emails
Differencebetween Ruby and Python Versions Of"Self"
How to Customise Qgroupbox Title in Pyqt5
Add Custom CSS Styling to Model Form Django
How to Compile Opencv for iOS7 (Arm64)
Aes Python Encryption and Ruby Encryption - Different Behaviour
How to Import a JSON from a File on Cloud Storage to Bigquery
Getting Segmentation Fault Core Dumped Error While Importing Robjects from Rpy2
What Is a "Good" Palette for Divergent Colors in R? (Or: Can Viridis and Magma Be Combined Together)
How Is the Feature Score(/Importance) in the Xgboost Package Calculated
Running Ruby, Node, Python and Docker on the New Apple Silicon Architecture
How to Define a Function with Optional Arguments
How to Use Mingw's Gcc Compiler When Installing Python Package Using Pip