Matplotlib importing error | Sololearn: Learn to code for FREE!

+2

Matplotlib importing error

I was making a program wanted to show a graph so I decided to use Matplotlib library then I installed it with pip but now when I import it shows an error says : DLL load failed while importing ft2font

9/25/2020 3:58:48 PM

Shayan

4 Answers

New Answer

+1

Check this. https://stackoverflow.com/questions/24251102/from-matplotlib-import-ft2font-importerror-dll-load-failed-the-specified-pro You may need to downgrade matplotlib to an earlier version.

+2

Yes I did it but it shows a new error says : module matplotlib has no attribute plot . Why ?

+2

It would certainly be easier to get help if you actually posted your code, otherwise one could only guess. Anyway if you type the error message into google, there are again lots of hits on stackoverflow. https://www.sololearn.com/Discuss/333866/?ref=app

+2

Thanks a lot