John Smith
John Smith

Reputation: 943

How do I install an older version of a django package?

I'm trying to install django-excel, but it seems like it has been upgraded to function with Django 1.9+

I'm using Django 1.8 and would like to make the package work again. I tried this, but I want to go back to a previous version(Django 1.7+):

pip install django-excel 

Upvotes: 1

Views: 1346

Answers (2)

Mithilesh Gupta
Mithilesh Gupta

Reputation: 2930

pip uninstall django

pip install django==<version>

Upvotes: 0

Nafiul Islam
Nafiul Islam

Reputation: 82470

You will need to install a prior version like so:

pip install django-excel==0.1

Similar to how it appears if you run the pip freeze command.

Upvotes: 2

Related Questions