Ask Your Question

Location of Sage packages?

asked 2011-07-12 07:38:06 -0500

anonymous user


Where does Sage store its Python packages?

edit retag flag offensive close merge delete


Please clarify your question. Do you mean "where is the Python code installed"? Do you mean "Where are the standard spkg's when building Sage from source?" Do you mean, "where on the website can I find links to Python packages?" I just don't even know what you're asking.

William Stein gravatar imageWilliam Stein ( 2011-07-12 07:42:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2011-07-12 07:51:15 -0500

niles gravatar image

updated 2011-07-12 07:52:54 -0500

Try the shell command "sage -sh" and then "echo $PYTHONHOME" and "echo $PYTHONPATH". If this doesn't give enough information, have a look at this SO question about retreiving python module path from within python. You should be able to use that technique inside sage to find what you need.

Does this address your question, or have I misunderstood?

edit flag offensive delete link more

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-12 07:38:06 -0500

Seen: 101 times

Last updated: Jul 12 '11