Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pillow dependencies #21

Open
fernandojunior opened this issue Oct 15, 2014 · 4 comments
Open

Pillow dependencies #21

fernandojunior opened this issue Oct 15, 2014 · 4 comments
Labels
Milestone

Comments

@fernandojunior
Copy link

I got some errors when tried to install Pillow on ubuntu. "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 44: ordinal not in range(128)", for example.

Pillow docs say that many of Pillow’s features require external libraries (libjpeg, zlib, libtiff, libfreetype, etc.).

Here a script to install some dependencies on ubuntu (https://gist.github.com/fernandojunior/17b027e3d5996721abe3)

@Zizzamia
Copy link
Member

@diegorusso what do you think about it?
@fernandojunior Thanks for the script, please send a pull request if you would like change the readme. :)

@Zizzamia Zizzamia added this to the Version 0.3.4 milestone Oct 15, 2014
@Zizzamia Zizzamia added improve and removed improve labels Oct 15, 2014
@diegorusso
Copy link

What the script does is ok. What I don't like is how it does it. What if one of these commands fail? I see also dependencies for two different releases of Ubuntu. Two options here:

  • we convert that script as mere documentation (so the user is responsible to run every single command)
  • we automate the script in order to cope with failures, different ubuntu releases and other edge cases.

What if someone is using an rpm based linux? Here just an idea: http://www.mirkopagliai.it/bash-scripting-check-for-and-install-missing-dependencies/

I hope this helps.

@devilicecream
Copy link
Contributor

@diegorusso I like the idea of an automated install script for Pillow. Not sure though how to integrate the script into the installation process.
What do you think should be the best way to proceed? Docs or script? I'll fix @fernandojunior 's script if needed.

@diegorusso
Copy link

@devilicecream I would prefer a script but I think now it is not so critical. If you have time to fix the script, off you go. If don't, just create a nice README that covers at least Ubuntu and an rpm based distribution.

@Zizzamia Zizzamia assigned Zizzamia and unassigned Zizzamia Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants