0

I've tried to install matplotlib in PyCharm with no success so far, so after installing Cython which was the first problem and after installing the Microsoft Build Tools, a new problem came up. When I go to the project interpreter in PyCharm and try to install matplotlib, the following error occurs: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\cl.exe' failed with exit status 2. Since I'm new to programming I don't know what this means. Keep in mind I have installed matplotlib in CMD but can't run it on PyCharm. Help?The error that appears on screen

T. Santos
  • 19
  • 1
  • Try installing Anaconda and pointing Pycharm at it – OneCricketeer Feb 08 '20 at 12:24
  • It could also be due to Microsoft Visual Studio, may be you should try to install that too. The compiler may have a problem, check if is it x86 or x64. – Kaleab Woldemariam Feb 08 '20 at 12:43
  • This is a duplicate of https://stackoverflow.com/questions/762292/matplotlib-build-problem-error-c1083-cannot-open-include-file-ft2build-h – AMC Feb 08 '20 at 19:01
  • Do not share information as images unless absolutely necessary. See: https://meta.stackoverflow.com/questions/303812/discourage-screenshots-of-code-and-or-errors. – AMC Feb 08 '20 at 19:01

0 Answers0