sage install on Darwin

4 views
Skip to first unread message

Jeffrey

unread,
Mar 28, 2011, 10:43:14 PM3/28/11
to sage-support
Hi.
I'm working on a Mac G5 & trying to install Sage. Darwin needs
packages installed in site-packages within Python folders in
Frameworks. But the Sage binary has two versions of Python inside Sage
with additional packages & more Sage folders inside the various
Python versions.

So I end up with Sage folders inside of the site-package inside
Python, and that inside Sage also inside site-packages inside another
Python. It's a maze of folders. Where can I get some clarity on what
exactly needs to be installed inside one copy of Python2.7 site-
packages?
I tried the app & it's just as convoluted.
thanks

Justin C. Walker

unread,
Mar 29, 2011, 3:18:14 AM3/29/11
to sage-s...@googlegroups.com
Hi,

I can't tell whether you've had any experience with Sage before, so I'll assume not.

First, I think there is only one copy of python in a Sage tree. Can you post what you think you're seeing? Also, Sage currently uses Python 2.6 (included), not 2.7 (or whatever versions you may already have installed).

Second, a Sage installation should (with rare exceptions) contain all the pieces it needs; it does not rely on already-installed components (like Python). Because Sage brings together so many disparate pieces, relying on a patchwork of components as installed on a random system would be a never-ending support headache.

Third, you don't mention what OS you're running; that would be good to know.

Finally, Sage comes in two forms: a full source tarball which usually (often?) will build w/o a problem if you have the development tool-chain installed; and a system-specific "binary" tar-ball which you should be able to install and have it "just work".

How are you doing your "installation"?

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------


Niles

unread,
Mar 29, 2011, 3:17:19 PM3/29/11
to sage-support
Hi Jeffrey,

I think you're working too hard to install Sage. For Mac, you just
need to copy the "sage" folder from the installer disk to your
"Applications" folder, and then open it and run the "sage" executable
with Terminal. The same works for the sage app bundle. In either
case, you should not do any more copying than just from the install
disk to your Applications folder.

best,
Niles

kcrisman

unread,
Mar 29, 2011, 3:35:31 PM3/29/11
to sage-support


On Mar 28, 10:43 pm, Jeffrey <jeffrey.deni...@gmail.com> wrote:
> Hi.
> I'm working on a Mac G5 & trying to install Sage. Darwin needs

Great, another PPC Mac user!

>
> So I end up with Sage folders inside of the site-package inside
> Python, and that inside Sage also inside site-packages inside another
> Python. It's a maze of folders. Where can I get some clarity on what

One of the Pythons in question is a symlink to the other Python.
That's so that 'python' works, instead of 'python-2.6' or whatever.

But Niles is right. You should be able to download Sage and "just use
it". One of the things at http://sagemath.org/mirror/osx/powerpc/index.html
should work for you. I'm pretty sure that G4 binaries should work on
a G5; certainly a 10.4 binary will work on 10.5.

If you still encounter difficulties, please don't hesitate to reply
*and* include more details about the kind of errors you see/things you
have tried.

- kcrisman
Reply all
Reply to author
Forward
0 new messages