2017-06-04 28 views
-1

ubuntu 14.04にgraphlabをインストールする際に次のエラーが発生しました。私はすでに、この問題をグーグルで解決するために多くの時間を費やしました。いずれかの私はこのprblemを解決するために役立つことができます。ubuntuにgraphlabをインストール中にエラーが発生しました

エラー:

[email protected]:~$ sudo pip install --upgrade https://get.graphlab.com/GraphLab-Create/2.1/[email protected]/<KEY>/GraphLab-Create-License.tar.gz 
Downloading/unpacking https://get.graphlab.com/GraphLab-Create/2.1/[email protected]/<KEY>/GraphLab-Create-License.tar.gz 
Cleaning up... 
Exception: 
Traceback (most recent call last): 
    File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main 
    status = self.run(options, args) 
    File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run 
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) 
    File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1198, in prepare_files 
    do_download, 
    File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1376, in unpack_url 
    self.session, 
    File "/usr/lib/python2.7/dist-packages/pip/download.py", line 546, in unpack_http_url 
    resp = session.get(target_url, stream=True) 
    File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 467, in get 
    return self.request('GET', url, **kwargs) 
    File "/usr/lib/python2.7/dist-packages/pip/download.py", line 237, in request 
    return super(PipSession, self).request(method, url, *args, **kwargs) 
    File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 455, in request 
    resp = self.send(prep, **send_kwargs) 
    File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/sessions.py", line 558, in send 
    r = adapter.send(request, **kwargs) 
    File "/usr/share/python-wheels/requests-2.2.1-py2.py3-none-any.whl/requests/adapters.py", line 385, in send 
    raise SSLError(e) 
SSLError: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error 

Storing debug log for failure in /home/ramy/.pip/pip.log 
[email protected]:~$ 

答えて

0

Requests can verify SSL certificates for HTTPS requests, just like a web browser. To check a host’s SSL certificate, you can use the verify argument:

そして、あなたはSSLErrorあなたがrequests部分と変更がに検証する見つけることができないようにしたい場合:

requests.get('https://google.com', verify=False) 

別の方法certifiモジュールを再インストール:

sudo pip uninstall -y certifi 
sudo pip install certifi==2015.04.28 

は、これらの質問を見てください:

Python Requests throwing up SSLError

SSLError: bad handshake, Python requests

関連する問題