It seems to be working now. Thank you very much. Unfortunately, now
I have a new problem. Please see below.
__________________________________________
sony$ /Applications/sage/sage /Users/Sony/Desktop/sagetexEx/
xample1.sage
Traceback (most recent call last):
File "/Users/Sony/Desktop/sagetexEx/xample1.py", line 4, in <module>
import sagetex
ImportError: No module named sagetex
sony$
__________________________________________
I placed sagetex.sty in Users/Sony/Library/texmf/tex/latex and
sagetex.py in the sage folder.
What am I not doing right?
Sony..
On Mar 6, 10:34 am, Marshall Hampton <[email protected]> wrote:
> The command "sage" is not in your path. As Harald said, you need to
> do:
>
> /your/path/sage filename.sage
>
> where /your/path is the path to where you installed sage.
>
> -M. Hampton
>
> On Mar 6, 9:29 am, Sunil Koswatta <[email protected]> wrote:
>
> > Thanks for the reply again. Now I am having a hard time finding the sage
> > command. I tried what you have suggested. The following is the outcome.
>
> > >sage filename.sage
>
> > -bash sage:command not found
>
> > Sony ..
>
> > --- On Fri, 3/6/09, Harald Schilly <[email protected]> wrote:
>
> > > From: Harald Schilly <[email protected]>
> > > Subject: [sage-support] Re: sagetex issues
> > > To: "sage-support" <[email protected]>
> > > Date: Friday, March 6, 2009, 8:37 AM
> > > On Mar 6, 3:30 pm, Sunil Koswatta
> > > <[email protected]> wrote:
> > > > Thanks for the reply. I appreciate it. Perhaps, I
> > > do not know how to "run" example1.sage. I have
> > > tried numerous (assumed) commands and some of them are
> > > listed below.
>
> > > no, you have to run sage *on* that file. i.e. if the sage
> > > command is
> > > in /you/sage/path/sage then run "/your/path/sage
> > > filename.sage". Don't
> > > start/open sage ! If sage is in your PATH variable, then
> > > you just
> > > don't need to specify the full path...
>
> > > h
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---