linux下python easy_の使用install_Could not find suitable distribution処理



 
背景:
centosでeasy_をインストールintall後、ダウンロードdjangoを使用してエラーを報告します.エラー情報は以下の通りです.
 
 
Download error on https://pypi.python.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or download links found for django

error: Could not find suitable distribution for Requirement.parse('django')

 
解決策:
 
1.yum install openssl-devel2.インストールpythonを再コンパイル(pythonがインストールしたディレクトリに入り、makeを再実行した後、make installコマンドを実行する).easy_install django
 
インストールは次のように成功しました.
Installed /usr/local/python/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg
Processing dependencies for django
Finished processing dependencies for django