Ask Your Question

python 2.7

asked 2012-02-22 09:05:04 -0500

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 09:49:00 -0500

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 01:18:29 -0500

kcrisman gravatar image

updated 2012-02-23 14:54:27 -0500

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 02:50:17 -0500 )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 14:55:11 -0500 )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 09:05:04 -0500

Seen: 547 times

Last updated: Feb 23 '12