Reputation: 281
I am trying to install django 1.4.3 using pip. I am running
$ sudo pip unistall django
$ sudo pip install django==1.4.3
and I get the following messagin during installation
Requested django==1.4.3, but installing version 1.5.1
I can give more code if needed. Thanks!
Upvotes: 7
Views: 8000
Reputation: 1623
A simple solution is to create a requirements.txt
file:
pip freeze > requirements.txt
Then, change the django version inside your requirements.txt file manually:
Django==1.4.3
and finally run the command:
pip install -r requirements.txt
You should have your required Django version.
Cheers!
Upvotes: 2
Reputation: 43
I met the same problem while install Twisted. requiring 10.0.0 but install 13.0.0, finally I get the 10.0.0 package and download src, mannually installed it. just change https://pypi.python.org/pypi/Twisted/13.0.0 to https://pypi.python.org/pypi/Twisted/10.0.0
Upvotes: 1