Ask Your Question
0

Sage installation

asked 2012-01-23 09:23:11 +0100

this post is marked as community wiki

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

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"

edit retag flag offensive close merge delete

Comments

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

Dima gravatar imageDima ( 2012-01-25 06:33:19 +0100 )edit

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

Dima gravatar imageDima ( 2012-01-25 06:34:59 +0100 )edit

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

czsan gravatar imageczsan ( 2012-01-27 13:39:15 +0100 )edit

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 gravatar imageczsan ( 2012-01-27 13:56:24 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-01-23 14:58:21 +0100

this post is marked as community wiki

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

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.

edit flag offensive delete link more

Comments

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 gravatar imageczsan ( 2012-01-24 05:01:17 +0100 )edit
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 gravatar imageShashank ( 2012-01-24 12:27:55 +0100 )edit

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

czsan gravatar imageczsan ( 2012-01-27 13:36:00 +0100 )edit

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

czsan gravatar imageczsan ( 2012-01-27 13:37:10 +0100 )edit

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 gravatar imageShashank ( 2012-01-27 15:11:40 +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-01-23 09:23:11 +0100

Seen: 1,171 times

Last updated: Jan 23 '12