2017-02-24 10 views
0

LinuxサーバーにDjangoをインストールしようとしています。 Pythonをインストールして正常にピップしましたが、このピップを実行してDjangoをインストールするとSSLエラーが発生します。pip install Django

pip install Django 

pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 
Collecting Django 
    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 

答えて

0

あなたは、のpython3-opensslのためのpython3をpython2のpython-OpenSSLを使用している場合、SSLモジュールをインストールしてみてください。 それが動作しない場合は、pipバージョンをアップグレードしてください。

関連する問題