Ask Your Question

No module name "sage.all"

asked 2011-07-05 16:45:01 +0200

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 17:55:37 +0200

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 18:10:56 +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


Asked: 2011-07-05 16:45:01 +0200

Seen: 2,113 times

Last updated: Jul 05 '11