'How to solve matplotlib install issue on Python3.9.5?

I'm not able to install matplotlib. Windows 10, Python 3.9.5

C:\Windows\System32 is in PATH

Any idea how to solve this? Thanks.

This is the error after conda install matplotlib:

==============================

ERROR conda.core.link:_execute(699): An error occurred while installing package 'conda-forge::qt-5.12.9-h5909a2a_4'.
Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::qt-5.12.9-h5909a2a_4
location of failed script: C:\ProgramData\Miniconda3\Scripts\.qt-post-link.bat
==> script messages <==
<None>
==> script output <==
stdout:         1 file(s) copied.

stderr: 'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.
'chcp' is not recognized as an internal or external command,
operable program or batch file.

return code: 1

==================================



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source