On Thursday, December 22, 2016 at 1:50:03 PM UTC, Emmanuel Charpentier 
wrote:
>
> Well, I upgraded my local Sage (which used to have a functional pip...) 
> and ... :
>
> charpent@SAP5057241:/usr/local/sage-7$ sage -python
> Python 2.7.12 (default, Dec 22 2016, 11:47:35) 
> [GCC 6.2.1 20161124] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> quit()
> charpent@SAP5057241:/usr/local/sage-7$ sage -pip search lalala
>

and what is the output of 
sage -pip -V

(it could be that you upgraded your pip to v9, and this is the root of the 
problem here?)
 

> Exception:
> Traceback (most recent call last):
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/basecommand.py", 
> line 215, in main
>     status = self.run(options, args)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/commands/search.py", 
> line 43, in run
>     pypi_hits = self.search(query, options)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/commands/search.py", 
> line 60, in search
>     hits = pypi.search({'name': query, 'summary': query}, 'or')
>   File "/usr/local/sage-7/local/lib/python/xmlrpclib.py", line 1243, in 
> __call__
>     return self.__send(self.__name, args)
>   File "/usr/local/sage-7/local/lib/python/xmlrpclib.py", line 1602, in 
> __request
>     verbose=self.__verbose
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/download.py", line 
> 764, in request
>     headers=headers, stream=True)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py",
>  
> line 518, in post
>     return self.request('POST', url, data=data, json=json, **kwargs)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/download.py", line 
> 378, in request
>     return super(PipSession, self).request(method, url, *args, **kwargs)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py",
>  
> line 475, in request
>     resp = self.send(prep, **send_kwargs)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py",
>  
> line 585, in send
>     r = adapter.send(request, **kwargs)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py",
>  
> line 46, in send
>     resp = super(CacheControlAdapter, self).send(request, **kw)
>   File 
> "/usr/local/sage-7/local/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py",
>  
> line 477, in send
>     raise SSLError(e, request=request)
> SSLError: Can't connect to HTTPS URL because the SSL module is not 
> available.
>
> The problem still stands (has worsened, actually...). However, the last 
> changes in the patch included in Python were dated 2016-09-05, whereas 
> Python 2.7.12 (implicitly -0) is dated <https://www.python.org/downloads/> 
> 2016-06-25. Our current version may be too hold to get the patch.
>
> HTH,
>
> --
> Emmanuel Charpentier
>
> Le jeudi 22 décembre 2016 12:36:34 UTC+1, Samuel Lelievre a écrit :
>>
>> Upgrade to Python 2.7.12 is done at #19735.
>>
>> Upgrade to Python 2.7.13 is in progress at #22037.
>>
>> #19735 https://trac.sagemath.org/ticket/19735
>> #22037 https://trac.sagemath.org/ticket/22037
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to