ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

OS X Install – Problems With PIL

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

nckswt gravatar image

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

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

Comments

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 -0600 )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 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

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

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

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

reference: stackoverflow.com/questions/20325473/error-installing-python-image-library-using-pip-on-mac-os-x-10-9

edit flag offensive delete link more

Comments

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 -0600 )edit
1

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

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

Reference

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 2,960 times

Last updated: Jan 08 '14