Ask Your Question

No module name "sage.all"

asked 2011-07-05 09:45:01 -0500

anonymous user


Hello to all, I'm trying to import sage in python using the "from sage.all import *" but I get the message "no module named sage.all" Im on mac os X 10.5 using idle as my python IDE. Is it possible to do that? Thanks in advance to all the answers. Any help will be sincerely appreciated. Cheers

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-07-05 10:55:37 -0500

Mike Hansen gravatar image

This is happening because IDLE is using your system's Python install rather than the one included with Sage. There isn't a trivial way to make this work. If you really want to use IDLE, then you need to install Tkinter into the Sage version of Python. Otherwise, you can use another text editor and the load and attach commands on the Sage command line for a similar effect.

edit flag offensive delete link more


Hey Mike, many thanks for your fast answer. May I ask you please how to install Tkinter into the Sage version of Python? I guess is not going to be a download-and-install thing, right? (I wished it was!) I don't want to do it until I'm not 100% sure of what I'm doing! Thanks once again. Cheers, Pablo

116iniesta gravatar image116iniesta ( 2011-07-05 11:10:56 -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


Asked: 2011-07-05 09:45:01 -0500

Seen: 428 times

Last updated: Jul 05 '11