Ask Your Question
0

How to install a new module for Sage? [closed]

asked 2012-04-01 17:35:13 +0100

Naji gravatar image

updated 2013-04-22 06:41:30 +0100

tmonteil gravatar image

Edit: this is a duplicate of this question.

Dear All,

I am trying to use sage in Mac OSX. I already installed the binary distribution. The problem is I cannot access the sage environment in terminal and when I run sage in Mac it opens Sage Notebook. The thing is I am trying to install PyMVPA and Nibabel in Sage, but as I look into guides I need to go through these steps according to:

http://sites.google.com/site/neuroinf...

Install pynifti and pymvpa -Download latest versions of pynifti and pymvpa -In the unpacked directories of pynifti and pymvpa and within a Sage environment (i.e. " $ sage -sh "), install the modules. I.e. " $ make all " and " $ python setup install ". Check installation by " sage: import pynifti " and " sage: import mvpa "

and when I type "sage -sh" in terminal it opens the sage process and the notebook in Safari! So I don't know where and when I need to type the rest which are "make all" and "python setup install"

I would be really grateful if someone helps.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by kcrisman
close date 2012-04-02 12:09:04

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-04-02 12:08:30 +0100

kcrisman gravatar image

Some followup. Can you tell us exactly where your sage is located? (E.g., is it the "app" version or only the terminal version?) sage -sh definitely should not start any notebook operations, ever. Where are you running this command from? If you haven't added sage to your PATH then maybe this is the problem.

You should be cding into the SAGE_ROOT directory, which will depend on your installation, and then the command ./sage -sh should be correct.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-01 17:35:13 +0100

Seen: 692 times

Last updated: Apr 02 '12