Sage installation

i like this post (click again to cancel)
0
i dont like this post (click again to cancel)

I use a "new" laptop, Lenovo Thinkpad T510 with Ubuntu 11.10. I have on it a not too good install of sage 4.7.2.(It means there were some error when it was installed, but it seems, it runs, but there are errors) I did'nt found any way install or upgrade Sage: 1. From source there is a problem with installing the python package (It is true for 4.6, 4.7.x, 4.8) 2. The upgrade says, "There are uncommitted changes in the Sage root repository". Please, I don't understand mercurial and i don't want learn it. 3. From binary of 4.8 the answer is "No module named _md5"

asked Jan 23 '12

this post is marked as community wiki

This post is a wiki. Anyone with karma >150 is welcome to improve it.

updated Jan 23 '12

czsan gravatar image czsan
133 1 5 16

Do you have openssl (it's an ubuntu package) installed? Perhaps it will cure "No module named _md5" thing.

Dima (Jan 25 '12)

The binary must match the version, certainly. Just built it from source! It's easier than it sounds...

Dima (Jan 25 '12)

I use Sage from version 3.x. The problem begin at 4.7.x and with Ubuntu 11.x.

czsan (Jan 27 '12)

I installed the libssl0.9.8 package; the binary distribution runs. But what is the "ocal/lib/python2.6/site-packages/distribute-0.6.16-py2.6.egg/pkg_resources.py:2322: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal" message?

czsan (Jan 27 '12)
i like this answer (click again to cancel)
1
i dont like this answer (click again to cancel)

Why do you want to install it from the source. For most purposes it is sufficient to just unpack the contents and start using. As far as mercurial is concerned you need it only if you are updating sage with your own code, that is, for sage development. Unless you plan to get involved in it (I would highly encourage you to get involved), you don't need to learn mercurial.

link

answered Jan 23 '12

this post is marked as community wiki

This post is a wiki. Anyone with karma >150 is welcome to improve it.

updated Jan 23 '12

Shashank gravatar image Shashank flag of United States
1570 5 22 55

There are'nt binary distribution for Ubuntu 11.10, the 10.04 version is bad for this purpose.

I think: the bad is bad.

czsan (Jan 24 '12)
1

Have you tried just deleting you sage installation directory and unpacking sage from http://boxen.math.washington.edu/sage/linux/64bit/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux.tar.lzma? All you notebooks are in your home. So they will not be affected. Can you explain what you mean by " From source there is a problem with installing the python package"

Shashank (Jan 24 '12)

"From source there is a problem with installing the python package" It is an error-message.

czsan (Jan 27 '12)

On Linux mint there are not problem with upgrading. It is an Ubuntu fork.

czsan (Jan 27 '12)

Can you explain how you are trying to install it on Ubuntu. I use Ubuntu 11.10 and all I did was unpacked the 10.04 version and started using the binaries without building it from the source. It works fine for me. All I have to do is add the path of sage directory to PATH environment so that I can call it from any directory.

Shashank (Jan 27 '12)
see 2 more comments

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Tags:

Stats:

Asked: Jan 23 '12

Seen: 255 times

Last updated: Jan 23 '12

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.