Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My current Django template on EC2 is using a number of easy-install packages always because there is no matching yum package. Unfortunately, easy-install has a disconcertingly high failure rate. Every few weeks a new easy-install package fails to install on instance launch.

Currently it is pyOpenSSL (which does not have a yum for Python 2.6)

How are other Django/Python admins handling this on EC2? Do you have all the tarballs as attachements? That seems to be where I am getting to ...

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can pinpoint a working configuration and force easy_install to install the exact same versions of the packages each time with the following command:

easy_install $package==$version

Also, you could consider pip, because it provides some benefits over easy_install and seems to be the widely accepted solution in the Python community lately. You can install it with the following command:

easy_install pip

And then install packages with:

pip install $package==$version
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.