#16479: package for pip the Python installer
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: packages: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: Vincent Delecroix | Work issues:
Report Upstream: N/A | Commit:
Branch: | 5dc530f62e90534b5f950f371b8e412dcb2194c4
u/vdelecroix/16479 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by novoselt):
How is it supposed to work?
{{{
novoselt@sage:~/sage$ sage -i pip
Found local metadata for pip-1.5.6
Attempting to download package pip-1.5.6
>>> Trying to download
http://www.sagemath.org/packages/upstream/pip/pip-1.5.6.tar.gz
[Traceback (most recent call last):
File "<stdin>", line 35, in <module>
File "/home/novoselt/sage/local/lib/python/urllib.py", line 240, in
retrieve
fp = self.open(url, data)
File "/home/novoselt/sage/local/lib/python/urllib.py", line 208, in open
return getattr(self, name)(url)
File "/home/novoselt/sage/local/lib/python/urllib.py", line 359, in
open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/home/novoselt/sage/local/lib/python/urllib.py", line 376, in
http_error
return self.http_error_default(url, fp, errcode, errmsg, headers)
File "<stdin>", line 17, in http_error_default
IOError: [Errno 404] Not Found:
'//www.sagemath.org/packages/upstream/pip/pip-1.5.6.tar.gz'
Error: failed to download package pip-1.5.6
novoselt@sage:~/sage$ sage -i
https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz
Attempting to download package pip-1.5.6.tar.gz
>>> Trying to download
https://pypi.python.org/packages/source/p/pip/pip-1.5.6.tar.gz
[............................................................]
pip-1.5.6.tar.gz
====================================================
Extracting package /home/novoselt/sage/upstream/pip-1.5.6.tar.gz
-rw-r--r-- 1 novoselt novoselt 938120 Aug 6 17:15
/home/novoselt/sage/upstream/pip-1.5.6.tar.gz
Finished extraction
/home/novoselt/sage/src/bin/sage-spkg: line 596: cd: pip-1.5.6.tar.gz: No
such file or directory
Error: after extracting, the directory pip-1.5.6.tar.gz does not exist
}}}
Doing `sage -i pip` after this successful download but failed installation
works.
--
Ticket URL: <http://trac.sagemath.org/ticket/16479#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.