polyfit error when installing matplotlib

I got an error when installing matplotlib

The OS is Mac OS Big Sur. The python version is 3.6.10. When I tried to install "numpy, pandas, matplotlib" without thinking about anything, I got the following error.

pip install matplotlib

RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
    
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

approach

The installed version of numpy is too new. It seems. It works when 1.18 is inserted.

pip install numpy==1.18
pip install matplotlib

Recommended Posts

polyfit error when installing matplotlib
Error handling when installing mecab-python
[python] Error when installing library ramkan
Error installing pandas_datareader
Error when installing a module with Python pip
Summary of error handling methods when installing TensorFlow (2)
Matplotlib Runtime Error resolution
Stumbled when installing PyOCR
Precautions when installing fbprophet
A story about installing matplotlib using pip with an error
After installing CentOS8 with VirtualBox, an error occurs when restarting
Error when playing with python
Error and solution when installing python3 with homebrew on mac (catalina 10.15)
When plotting time series data and getting a matplotlib Overflow Error
Error when installing opencv-python on jetson nano (ModuleNotFoundError: No module named'skbuild')
When coverage fails with _sqlite3 error
Error when building mac python environment
Precautions when installing tensorflow with anaconda
[Django memo] Failure when installing modal
Support when installing pillow on python3.9
Undefined symbol error when importing torchvision
Yara error when running Cuckoo Sandbox
Error handling when updating Fish shell
When matplotlib doesn't work with python2.7
Proxy error when running "pip install"
Dealing with key not found error in pacstrap when installing Arch Linux
What to do if you get an error when installing Dlib (Ubuntu)