Processing math: 0%

First time here? Check out the FAQ!

Ask Your Question
0

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

asked 12 years ago

Naji gravatar image

updated 11 years ago

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.

Preview: (hide)

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 12 years ago

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.

Preview: (hide)
link

Question Tools

Stats

Asked: 12 years ago

Seen: 700 times

Last updated: Apr 02 '12