glumpy: IPython on OSX -- RuntimeError: Freetype library not found

I’m trying to get this code working.

It says it can’t find glumpy.

sudo pip install glumpy

Now it says it can’t find OpenGL.

sudo pip install pyopengl

Now it’s says it can’t find freetype. But pip fails to locate that lib. Luckily anaconda works:

conda install freetype

But even though the installation completed successfully, my IPython notebook cell keeps spitting out “RuntimeError: Freetype library not found”

I’m not sure what to do next.

Notebook is here

https://github.com/glumpy/glumpy/blob/master/glumpy/ext/freetype/__init__.py#L32 digging ^ this is where it’s failing. So anaconda must have installed freetype somewhere weird.

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

Weird, on OSX (sierra), I got:

'/usr/locaL/lib/libfreetype.dylib'

Can you try (from a python shell):

>>> import ctypes.util
>>> ctypes.util.find_library("freetype")