See http://trac.sagemath.org/ticket/18131
On Tuesday, April 7, 2015 at 12:51:46 PM UTC+2, Simon King wrote:
>
> Hi!
>
> Trying to review #17847, thus, working on top of sage-6.6.rc2, I get the
> following error when building sagenb-0.11.4:
>
> Traceback (most recent call last):
> File "/home/king/Sage/git/sage/local/bin/pip", line 9, in <module>
> load_entry_point('pip==1.5.6', 'console_scripts', 'pip')()
> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 521,
> in load_entry_point
> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2632, in load_entry_point
> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2312, in load
> File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line
> 2318, in resolve
> File
> "/home/king/Sage/git/sage/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/__init__.py",
>
> l
> ine 10, in <module>
> from pip.util import get_installed_distributions, get_prog
> File
> "/home/king/Sage/git/sage/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/util.py",
>
> line
> 18, in <module>
> from pip._vendor.distlib import version
> File
> "/home/king/Sage/git/sage/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/distlib
>
>
> /version.py", line 14, in <module>
> from .compat import string_types
> File
> "/home/king/Sage/git/sage/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/_vendor/distlib
>
>
> /compat.py", line 31, in <module>
> from urllib2 import (Request, urlopen, URLError, HTTPError,
> ImportError: cannot import name HTTPSHandler
> Error: Installing SageNB failed.
>
>
> I wonder for three reasons:
> - Why does pip come into play for building standard packages? I thought
> it was optional?
> - I DO have pip installed in Sage. So, why does it fail?
> - It mentions urllib2. Is it a dependency for pip? Then why is it not
> correctly installed, when pip is installed?
>
> Best regards,
> Simon
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.