On 2013-06-08, Joy Morris <[email protected]> wrote: > I had been running a very old version (3.4) of sage on my laptop (Mac > PowerBook, Intel, less than a year old, running OS 10.8.3). This > morning I tried downloading sage 5.9. I first tried the app; it took > half an hour and failed to open the server, so I quit that. I had > also downloaded the traditional Unix version. After I copied it to my > applications folder and tried to run it, I got the following message > in terminal:
you don't just "copy" it, you need to untar it... It actually need not be in /Applications, you can put it anywhere. > > /Applications/sage/local/lib/python/site.py:158: Warning: 'with' will become > a reserved keyword in Python 2.6 > 'import site' failed; use -v for traceback > /Applications/sage/local/lib/python/linecache.py:127: Warning: 'with' will > become a reserved keyword in Python 2.6 > /Applications/sage/local/bin/sage-location:160: Warning: 'with' will become a > reserved keyword in Python 2.6 > File "/Applications/sage/local/bin/sage-location", line 160 > with open(filename, 'r+') as f: > ^ > SyntaxError: invalid syntax > logout > > [Process completed] warnings in future tense about Python 2.6 are a good indication that your old Sage interfers somehow. Sage is already using Python 2.7. HTH, Dmitrii > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
