Ich kann Django auf Python3 in Ubuntu 16.04 nicht installieren. Hier ist, was ich habe versucht:Installieren von Django auf Ubuntu 16.04, python3
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
Ich halte den gleichen Fehler:
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
Ich habe Django auf Python installiert 2.7, aber ich brauche es auf Python 3.6.
Wenn ich laufen
sudo apt-get install python3-django
es sagt
python3-django is already the newest version (1.8.7-1ubuntu5.5).
Ich glaube, das ist, weil ich python3.5 mit Django auf python3.5 installiert haben, aber ich brauche es auf 3.6. Python3 verweist auf Python3.6. Mein pip3 ist aktuell.
Jede Hilfe wird geschätzt.
Wie Sie Python installiert haben 3,5 und separat 3.6? Wenn Sie nur 3.5 bis 3.6 aktualisiert haben, müssen Sie keine Bibliotheken wie Django neu installieren. –
@DanielRoseman Ich habe sie separat installiert. – Lucas
@the_storyteller Ich habe das nicht vor der Installation von python3.6 getan. Nun, mit Python3.6 habe ich es aber immernoch gar nicht ausgeführt. gleicher Fehler – Lucas