I am unable to install django on python3 in ubuntu 16.04. Here is what I have tried:
1. pip3 install django
2. pip3 install --trusted-host pypi.python.org django
3. pip3 install --index-url=http://pypi.python.org/simple --trusted-host pypi.python.org django
I keep getting the same error:
Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django
I have Django installed on python 2.7, but I need it on python 3.6.
When I run
sudo apt-get install python3-django
it says
python3-django is already the newest version (1.8.7-1ubuntu5.5).
I believe this is because I have python3.5 installed with Django on python3.5, but I need it on 3.6. Python3 refers python3.6. My pip3 is up to date.
Any help is appreciated.