0

I am trying to install Matplotlib in a Python cartridge in Openshift with pip. it fails due to a dependency on freetypelib.

Is there a way to make Matplotlib work in that environment?

Veedrac
  • 58,273
  • 15
  • 112
  • 169
twt test
  • 9
  • 1
  • 2
    Welcome to Stack Overflow! Please explain what you mean by "it fails". Please include **full** tracebacks (if they exist) and a way to reproduce the problem. – Veedrac Sep 20 '14 at 03:28
  • This is as known bug in 1.4.0, it fails in the freetype-dev headers are not installed. This has been fixed on the maintenance branch and will be included in the 1.4.1 release (end of the month). – tacaswell Sep 20 '14 at 21:31

1 Answers1

0

Check if libfreetype is installed (try "locate libfreetype"), if you find some output then you may have look at this post https://www.openshift.com/forums/express/is-libjpeg-available#comment-35344 If not install libfreetype. Let me know if you have any problems installing libfreetype