I am trying to install matplotlib with pip command on windows 10 but it is giving me an error and exiting with status 1. I have looked for hours to solve this error but couldn't remove the error. Here is the error.
Then it creates and copy a lot of files in red font.
-
Duplicate of this thread, see accepted answercrissal– crissal2019-10-28 19:45:38 +00:00Commented Oct 28, 2019 at 19:45
-
Thank you for posting but I have already tried this solution. It didn't worked for me. @crissalJawadR1– JawadR12019-10-28 19:49:01 +00:00Commented Oct 28, 2019 at 19:49
-
1Can you try Python 3.7.x instead of Python 3.8?crissal– crissal2019-10-28 19:50:46 +00:00Commented Oct 28, 2019 at 19:50
-
Possible duplicate of Unable to install matplotlib using pipMichal– Michal2019-10-28 23:22:47 +00:00Commented Oct 28, 2019 at 23:22
Add a comment
|
2 Answers
You are missing freetype which is a required external dependency to build python from source which you need to do because we have not posted py38 wheels for Matplotlib (we are working on it).
For now follow the instructions at https://matplotlib.org/devel/contributing.html#retrieving-and-installing-the-latest-version-of-the-code to set the MPLLOCALFREETYPE=1 enviroment variable to have Matplotlib build a local copy of freetype for you. This will be the default behavior in future releases.
