Ask Your Question

python 2.7

asked 2012-02-22 16:05:04 +0200

anonymous user


is sage compatible with python 2.7.x or only 2.6.x?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-02-22 16:49:00 +0200

DSM gravatar image

"Compatible" might be the wrong word, because Sage uses its own Python.

Currently, as of Sage 4.8, the internal Python version is 2.6.4. However, this should change (assuming everything works out!) in Sage 5.0, which is currently in beta. 5.0 should have Python 2.7.2, and you can verify this at, if you like-- log in and run "import sys; print sys.version".

It'll be nice to have dict comprehensions and collections.Counter..

edit flag offensive delete link more

answered 2012-02-23 08:18:29 +0200

kcrisman gravatar image

updated 2012-02-23 21:54:27 +0200

DSM's answer is the best. However, just in case this is what you are asking, some people do use Sage with system components, including Python, with things like Sage on Gentoo and the related lmonade. There also used to be a Debian version.

edit flag offensive delete link more


Huh! I guess I never knew those used system Python too.

DSM gravatar imageDSM ( 2012-02-23 09:50:17 +0200 )edit

Oh my goodness! Maybe they don't? I couldn't imagine why they wouldn't, given that everyone has Python... this never even occurred to me.

kcrisman gravatar imagekcrisman ( 2012-02-23 21:55:11 +0200 )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

1 follower


Asked: 2012-02-22 16:05:04 +0200

Seen: 832 times

Last updated: Feb 23 '12