Put easy_install inside if statement