I get the following error while trying to install git from
sage-optional packages. The error seems to be in one of the python
library files (os.py) and is a syntax error -
File "/compute/imsc9/rajeev/bin/sage-4.8/local/lib/python/os.py", line 758
bs = b""
^
SyntaxError: invalid syntax
I think this is a bug?
Rajeev
I can not reproduce the problem. I was just installing the git spkg without any
problems, with sage-5.0.prealpha0. What exactly did you do when (and
before) the problem arose?
Cheers,
Simon
sage -i git-1.7.9.4
I am using sage-4.8. I get the same error on two computers (one
running SuseLinux and another running Debian).
Rajeev
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
I don't think that should happen because I'm just giving the following
command on terminal -sage -i git-1.7.9.4
I am using sage-4.8. I get the same error on two computers (one
running SuseLinux and another running Debian).
$ cd /tmp
$ wget http://boxen.math.washington.edu/home/keshav/files/git-1.7.10.spkg
$ sage -f git-1.7.10.spkg
$ rm git-1.7.10.spkg
Thanks for spotting this bug! To summarize the rest of the posts in this
thread, the problem was that we needed to tell git's configure script
explicitly to use Sage's Python, rather than relying on the PATH
environment variable to convey that desire. John also discovered a
problem with installing on OS X with certain other software installed
(Fink or Darwin Ports), which has also been fixed.
What, that actually works? I could have sworn it didn't... cool!