ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have no clue how interchangeable PIL and Pillow are, so no idea how easy it would be to make the code depending on PIL use Pillow. I think your easier bet is just installing PIL.
I assume you are getting a freetype related compilation error? This has been discussed before, you will likely be successful with the following sequence of commands:
ln -s /usr/local/include/freetype2 /usr/local/include/freetype
pip install -U PIL --allow-external PIL --allow-unverified PIL
rm /usr/local/include/freetype
2 | No.2 Revision |
I have no clue how interchangeable PIL and Pillow are, so no idea how easy it would be to make the code depending on PIL use Pillow. I think your easier bet is just installing PIL.
I assume you are getting a freetype related compilation error? This has been discussed before, you will likely be successful with the following sequence of commands:
ln -s /usr/local/include/freetype2 /usr/local/include/freetype
pip install -U PIL --allow-external PIL --allow-unverified PIL
rm /usr/local/include/freetype
EDIT: you might need sudo pip
instead of pip
3 | No.3 Revision |
I have no clue how interchangeable PIL and Pillow are, so no idea how easy it would be to make the code depending on PIL use Pillow. I think your easier bet is just installing PIL.
I assume you are getting a freetype related compilation error? This has been discussed before, you will likely be successful with the following sequence of commands:
ln -s /usr/local/include/freetype2 /usr/local/include/freetype
pip install -U PIL --allow-external PIL --allow-unverified PIL
rm /usr/local/include/freetype
Update: According to William in the comments below this is a better way to work around the freetype issue:
CFLAGS="-I/usr/local/include/freetype2" pip install -U PIL --allow-external PIL --allow-unverified PIL
EDIT: you might need sudo pip
instead of pip