The default version of Python in Arch Linux is 3, but I was under the impression that the Sage brings a python version of its own, no?
On Wednesday, March 30, 2016 at 12:29:56 AM UTC+3, Dima Pasechnik wrote: > > What version of python do you get if you run python? My guess it is > version 3, and that is the reason for > print to fail. > > So it should be possible to avoid this, I suppose. See > https://github.com/sagemath/binary-pkg/issues/7 > > On Tuesday, March 29, 2016 at 8:45:14 PM UTC+1, Eugene E. wrote: >> >> Hello! >> >> I would like to report that attempt to run Ubuntu 16.04-x86_64 binary >> package (on ArchLinux x86_64 system) causes error: >> >> $ ./sage >> File "/home/eugene/.storage/Downloads/SageMath/relocate-once.py", line >> 12 >> print "relocate-once.py -d <destination>" >> ^ >> SyntaxError: Missing parentheses in call to 'print' >> ┌────────────────────────────────────────────────────────────────────┐ >> │ SageMath Version 7.1, Release Date: 2016-03-20 │ >> │ Type "notebook()" for the browser-based notebook interface. │ >> │ Type "help()" for help. │ >> └────────────────────────────────────────────────────────────────────┘ >> >> ERROR: The Sage installation tree has moved >> >> from >> /home/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391yaj2 >> to /home/eugene/.storage/Downloads/SageMath >> >> This is not supported, and Sage will not work. To install Sage from a >> binary package: >> >> 1. Open the .tar.bz2 archive (or .dmg on OSX) >> >> 2. Move the SageMath folder/app to where you want it to be. You can >> also rename the directory now. >> >> 3. Start sage for the first time. This will then automatically patch >> paths in binaries. >> >> After starting Sage for the first time you cannot change the >> installation any more. To install Sage elsewhere, start over from the >> binary package. Or recompile Sage from scratch in the new location >> ("make distclean && make") >> >> I fixed print function in relocate-once.py but it did not help, then I >> ran relocate-once.py and it did help - now Sage appears to run well. >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.