I want to install django1.5x. So I tried:
pip install django
but django1.6
gets installed.
I tried again by:
pip install django==1.5
but I got error:
Could not find any downloads that satisfy the requirement django==1.5
No distributions at all found for django==1.5
Storing complete log in /home/suhail/.pip/pip.log
Django can be installed easily using pip . In the command prompt, execute the following command: pip install django . This will download and install Django. After the installation has completed, you can verify your Django installation by executing django-admin --version in the command prompt.
Updating Pip b is available.” You can run “pip install --upgrade pip” to install and use the new version of pip. To update pip2 or pip3 using this command, only replace the first pip with the pip version.
txt file, pip looks for the latest version that satisfies the requirement and installs it. Next, you can upgrade the packages in your requirements file by running the install command with the --upgrade switch or the -U shorthand: Windows. Linux + macOS.
Python compatibilityDjango 3.0 supports Python 3.6, 3.7, 3.8, and 3.9 (as of 3.0. 11). We highly recommend and only officially support the latest release of each series.
pip install django=="1.5"
works for me
pip install django=="1.5"
Downloading/unpacking django==1.5
Downloading Django-1.5.tar.gz (8.0MB): 8.0MB downloaded
Running setup.py egg_info for package django
What version of Python are you using?
Specify version as <1.6
:
pip install "Django<1.6"
This installs Django 1.5.5 for now.
NOTE: Don't forget the quotes. otherwise <
is interpreted as redirection.
Did you try to give the exact version number?
pip install django==1.5.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With