# Location of Sage packages?

Where does Sage store its Python packages?

Location of Sage packages?

asked **
2011-07-12 07:38:06 -0600
**

Anonymous

Where does Sage store its Python packages?

1

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?

Asked: **
2011-07-12 07:38:06 -0600
**

Seen: **117 times**

Last updated: **Jul 12 '11**

Python thing that doesn't work in Sage, works in pure Python

Using Sage in a Python CGI script

Using Psycopg2 and other libraries in sage

Will upgrading to Python 3.x on my system break Sage?

5.12 command line startup looks odd

numpy.int64 vs. sage.rings.integer.Integer [closed]

Transform a list of coefficients to polynomial (in GF(2^8)) [closed]

inserting expression into integral with latex and pythonsage1

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.

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.