ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 12 Jul 2011 07:51:15 -0500Location of Sage packages?http://ask.sagemath.org/question/8221/location-of-sage-packages/Where does Sage store its Python packages?Tue, 12 Jul 2011 07:38:06 -0500http://ask.sagemath.org/question/8221/location-of-sage-packages/Comment by William Stein for <p>Where does Sage store its Python packages?</p>
http://ask.sagemath.org/question/8221/location-of-sage-packages/?comment=21482#post-id-21482Please 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.Tue, 12 Jul 2011 07:42:16 -0500http://ask.sagemath.org/question/8221/location-of-sage-packages/?comment=21482#post-id-21482Answer by niles for <p>Where does Sage store its Python packages?</p>
http://ask.sagemath.org/question/8221/location-of-sage-packages/?answer=12510#post-id-12510Try 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](http://stackoverflow.com/questions/247770/retrieving-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?
Tue, 12 Jul 2011 07:51:15 -0500http://ask.sagemath.org/question/8221/location-of-sage-packages/?answer=12510#post-id-12510