My project was running on Django 1.5.4 and I wanted to upgrade it. I did pip install -U -I django and now pip freeze shows Django 1.6.5 (clearly django
pip install -U -I django
pip freeze
I use this command for upgrading any package using pip:
pip install --upgrade
Example: pip install django --upgrade
pip install django --upgrade
you need to use the --upgrade or -U flag for upgrading.
--upgrade
-U
Alternatively, you can use python -m pip install -U Django.
python -m pip install -U Django