Errors and resolutions

jgillis edited this page Mar 24, 2015 · 2 revisions

Windows

  File "animation_simple.py", line 3, in <module>
    import matplotlib.pyplot as plt
  File "C:\Python27\lib\site-packages\matplotlib\pyplot.py", line 24, in <modul
>
    import matplotlib.colorbar
  File "C:\Python27\lib\site-packages\matplotlib\colorbar.py", line 29, in <mod
le>
    import matplotlib.collections as collections
  File "C:\Python27\lib\site-packages\matplotlib\collections.py", line 23, in <
odule>
    import matplotlib.backend_bases as backend_bases
  File "C:\Python27\lib\site-packages\matplotlib\backend_bases.py", line 50, in
<module>
    import matplotlib.textpath as textpath
  File "C:\Python27\lib\site-packages\matplotlib\textpath.py", line 11, in <mod
le>
    import matplotlib.font_manager as font_manager
  File "C:\Python27\lib\site-packages\matplotlib\font_manager.py", line 53, in
module>
    from matplotlib import ft2font
ImportError: DLL load failed: The specified procedure could not be found.

The library ft2font.pyd has some unmet dependencies, which you can find with 'dependency walker'. In my case, wrong version of libbz2.dll, supplied by OSSBuild/Gstreamer, was loaded.