Ask Your Question
0

Sage installation

asked 13 years ago

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"

Preview: (hide)

Comments

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

Dima gravatar imageDima ( 13 years ago )

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

Dima gravatar imageDima ( 13 years ago )

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

czsan gravatar imageczsan ( 13 years ago )

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 ( 13 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 13 years ago

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.

Preview: (hide)
link

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 ( 13 years ago )
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 ( 13 years ago )

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

czsan gravatar imageczsan ( 13 years ago )

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

czsan gravatar imageczsan ( 13 years ago )

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 ( 13 years ago )

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: 13 years ago

Seen: 1,306 times

Last updated: Jan 23 '12