Ask Your Question
0

Trying to re-install python

asked 2012-06-03 13:11:39 +0100

sergif gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-06-03 16:11:59 +0100

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.

edit flag offensive delete link more

Comments

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

sergif gravatar imagesergif ( 2012-06-03 16:18:07 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-03 13:11:39 +0100

Seen: 340 times

Last updated: Jun 03 '12