Ask Your Question
0

Trying to re-install python

asked 2012-06-03 06:11:39 -0600

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 09:11:59 -0600

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 09:18:07 -0600 )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 06:11:39 -0600

Seen: 113 times

Last updated: Jun 03 '12