Skip to content

Added Pillow to requirements.txt#2010

Merged
shelhamer merged 1 commit intoBVLC:masterfrom
danielhamngren:update_python_requirements
Mar 7, 2015
Merged

Added Pillow to requirements.txt#2010
shelhamer merged 1 commit intoBVLC:masterfrom
danielhamngren:update_python_requirements

Conversation

@danielhamngren
Copy link
Copy Markdown
Contributor

This change will prevent the caffe python package break due to lack of supported image formats. I don't know which image formats would be supported without Pillow (or PIL) but now at least JPEG and PNG are supported.

See #1997

Most people in this field probably already have Pillow or PIL and wouldn't notice about this, but it'll make installing pycaffe a little bit easier on a fresh OS install.

shelhamer added a commit that referenced this pull request Mar 7, 2015
@shelhamer shelhamer merged commit 60f1743 into BVLC:master Mar 7, 2015
@shelhamer
Copy link
Copy Markdown
Member

Thanks!

@lukeyeager
Copy link
Copy Markdown
Contributor

Is 2.7.0 really required? 2.3.0 comes with Ubuntu 14.04 (apt-get install python-pil), and seems to do the job for me.

@danielhamngren, was there a reason you chose 2.7.0? Or was that simply the default version that came when you did a pip install Pillow? It looks to be an overly stringent requirement.

@danielhamngren
Copy link
Copy Markdown
Contributor Author

Hi, I used 2.7.0, as you guessed, because that was the default one at the time when doing a 'pip install pillow'.

If everything works with 2.3.0, then I agree 2.7.0 is too stringent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants