On Thu, Jun 3, 2010 at 9:21 AM, kcrisman <kcris...@gmail.com> wrote: > > > On Jun 3, 12:16 pm, Bruce <brucewestb...@googlemail.com> wrote: >> I probably said the wrong thing. Here is what came back: >> >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> File "_sage_input_2.py", line 10, in <module> >> exec compile(u'open("___code___.py","w").write("# -*- coding: >> utf-8 -*-\\n" + >> _support_.preparse_worksheet_cell(base64.b64decode("Li9zYWdlIC1pIGxpZS0yLjI >> uMi5wMw=="),globals()) >> +"\\n"); execfile(os.path.abspath("___code___.py")) >> File "", line 1, in <module> >> >> File "/tmp/tmp8kCITA/___code___.py", line 3 >> ./sage -i lie-_sage_const_2p2 .2.p3 >> ^ >> SyntaxError: invalid syntax > > Oh, sorry, this command only works if you are already in the Sage > directory on your own computer. It *definitely* wouldn't work in the > notebook!
kcrisman, if you read your email to the OP, you'll see that you just told him to start the notebook and paste the line ./sage -i lie-2.2.2.p3 into the notebook. Bruce, at the *UNIX* command line, you should type ./sage -i lie-2.2.2.p3 This has nothing to do with the notebook. This is something you do before running the notebook or Sage. Alternatively, you can type install_package('lie-2.2.2.p3') from within Sage. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org