My OS is Ubuntu 18.04 if that helps.
I tried installing using pip. It keeps saying it's successful but this is the result:
Requirement already satisfied: django in /usr/local/lib/python2.7/dist-packages (1.11.17)
Requirement already satisfied: pytz in /usr/local/lib/python2.7/dist-packages (from django) (2014.10)
Now, I tried upgrading it and it still shows the same error.
I tried using pip3. It's successful but when I try to import it on python 3.0, it shows this error:
ModuleNotFoundError: No module named 'django'
I also tried installing using virtualenv. It still doesn't work.
If it helps, this is the error which shows when I try installing using pip3:
Requirement already satisfied: django in ./pgadmin4/lib/python3.6/site-packages (2.1.4)
Requirement already satisfied: pytz in ./pgadmin4/lib/python3.6/site-packages (from django) (2018.3)