Ask Your Question

sergif's profile - activity

2012-06-03 16:49:03 +0200 received badge  Scholar (source)
2012-06-03 16:49:03 +0200 marked best answer Trying to re-install python

If you downloaded a binary installation of Sage, then the spkg files are not real packages: they are placeholder files only. In this situation, you should download the actual spkg; a command like

$ sage -f http://sagemath.org/packages/standard/python-2.7.2.p4.spkg

should work, I think.

If you downloaded a source installation instead, then maybe your spkg file is corrupted, and you should download a new one anyway.

2012-06-03 16:18:07 +0200 commented answer Trying to re-install python

Thanks John, that must be it - I downloaded a binary installation. I will try your suggestion. Thanks again.

2012-06-03 13:11:39 +0200 asked a question Trying to re-install python

I am trying to re-install the sage python dist. Using command "sudo sage -f python-2.7.2.p4". I keep getting the error message 'this does not look like a tar archive Exiting with failure status. Error: failed to extract /usr/lib/sage/spkg/standard/python-2.7.2.p4.spkg'. Does anyone know why? I also tried from the sage notebook with the command "install_package('python-2.7.2.p4')" with same result. Running Ubuntu 12.04 in VM VirtualBox. Thanks.