Ask Your Question

OS X Install – Problems With PIL

asked 2014-01-07 19:41:46 -0500

nckswt gravatar image

updated 2014-01-28 17:05:27 -0500

ngrennan gravatar image

I'm trying to install Hydro on a fresh OS X Mavericks system, but I get hung up during the following command:

rosdep install --from-paths src --ignore-src --rosdistro hydro -y

The issue I'm getting is with PIL: Could not find any downloads that satisfy the requirement PIL. When I try to install PIL manually (using sudo pip install -U PIL --allow-external PIL --allow-unverified PIL), I get stuck at _imagingft.c:73:10: fatal error: 'freetype/fterrors.h' file not found, even though freetype is installed and up to date.

Has anyone else experienced the same issue?

edit retag flag offensive close merge delete


Worked perfectly! Feel free to copy/paste my answer so I can give you sweet, sweet karma =)

nckswt gravatar image nckswt  ( 2014-01-08 04:21:28 -0500 )edit

@nckswt, done. as a newbie I'm not sure whether it should be a comment or answer.

lanyusea gravatar image lanyusea  ( 2014-01-08 04:40:33 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2014-01-07 22:37:16 -0500

updated 2014-01-08 06:15:11 -0500

can that help?
ln -s /usr/local/Cellar/freetype/2.5.1/include/freetype2 /usr/local/include/freetype


edit flag offensive delete link more


Note that if you later decide to install ogre with `brew install ogre`, you might need to remove that symlink again for it to compile (at least when I did this a while back it was neccessary).

demmeln gravatar image demmeln  ( 2014-01-20 03:50:50 -0500 )edit

answered 2014-01-08 04:26:44 -0500

nckswt gravatar image

If you're having issues with installing PIP during the dependencies install, you need to symlink it:

ln -s /usr/local/Cellar/freetype/2.5.2/include/freetype2 /usr/local/include/freetype

Don't forget to tab-complete to make sure your version number is accurate. After that, you can manually install pip, then continue with the dependency install:

sudo pip install -U PIL --allow-external PIL --allow-unverified PIL 
rosdep install --from-paths src --ignore-src --rosdistro hydro -y


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-07 19:41:46 -0500

Seen: 2,710 times

Last updated: Jan 08 '14