mysociety / yournextrepresentative

A website for crowd-sourcing structured election candidate data
https://candidates.democracyclub.org.uk/
GNU Affero General Public License v3.0
56 stars 21 forks source link

Error when installing from wiki instructions #948

Open robertritz opened 8 years ago

robertritz commented 8 years ago

I ran into an issue when installing ynr from the [production deployment wiki.] I got around the issue but wanted to let y'all know.

When running pip install -r requirements.txt Pillow failed to install. I used easy_install Pillow and it installed with no issues. I reran pip install -r requirements.txt and everything installed properly.

robertritz commented 8 years ago

I tried to replicate the solution later but couldn't. It appears the real issue is that I was missing libjpeg. I installed libjpeg-dev and it worked. Can anyone verify this is a needed resource?

wfdd commented 8 years ago

Yes, libjpeg-dev is required. For an up-to-date list of system dependencies for development, bar PostgreSQL and elasticsearch, see https://github.com/mysociety/yournextrepresentative/blob/master/conf/provision.sh#L7-L11.