Message- Cannot find installed version of python-django or python3-django

Solution 1:

There are a number of different ways in which you can install Django depending upon your needs and how you want to configure your development environment.

  • Global Install from Packages:

    sudo apt-get update
    sudo apt-get install python-django
    

    You can test that the installation was successful by typing:

    django-admin --version
    
  • Global Install through pip:

    sudo apt-get update
    

    Now you can install pip. If you plan on using Python version 2, install using the following commands:

    sudo apt-get install python-pip
    

    If, instead, you plan on using Python 3, use this command:

    sudo apt-get install python3-pip  
    

    Now that you have pip, we can easily install Django. If you are using Python 2, you can type:

    sudo pip install django
    

    If you are using Python 3, use the pip3 command instead:

    sudo pip3 install django
    

    You can verify that the installation was successful by typing:

    django-admin --version
    
  • Global Install through pip.

  • Global Install through pip.

full Details and all rights goes to the owner from digitalOcean