Marc Culler and I have released version 1.6 of SnapPy. There are two sets of new features:
- Creating links formulaically, e.g. via combining tangles algebraically. See our page of examples.
- Arbitrary precision calculation of certain things (e.g. tetrahedra shapes) and finding associated number fields, a la Snap. Very basic at this point compared to what Snap can to, but here are examples of what we have so far. To use this, you need to install SnapPy in Sage, which should be easy.
I have tried to upgrade SnapPy from 1.5.2 to 1.6.0 as I have done with previous versions with no prblems, but this time I get an error message at the last stage:
paulo@insys:~$ python -m snappy.app
/usr/bin/python: /lib/libc.so.6: version `GLIBC_2.14′ not found (required by /usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/gen.so)
and the program doesn’t run when invoked, returning the same error message:
paulo@insys:~$ SnapPy
Traceback (most recent call last):
File “/usr/local/bin/SnapPy”, line 9, in
load_entry_point(‘snappy==1.6.0′, ‘console_scripts’, ‘SnapPy’)()
File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 305, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 2244, in load_entry_point
return ep.load()
File “/usr/lib/python2.6/dist-packages/pkg_resources.py”, line 1954, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File “/usr/local/lib/python2.6/dist-packages/snappy-1.6.0-py2.6-linux-x86_64.egg/snappy/__init__.py”, line 4, in
from .SnapPy import Triangulation, Manifold, AbelianGroup, FundamentalGroup, HolonomyGroup, DirichletDomain, CuspNeighborhood, SymmetryGroup, AlternatingKnotExteriors, NonalternatingKnotExteriors, SnapPeaFatalError, MorwenLinks, pari
File “SnapPy.pyx”, line 95, in init snappy.SnapPy (SnapPy.c:71936)
File “/usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/__init__.py”, line 1, in
from . import all
File “/usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/all.py”, line 1, in
from . import gen as _gen
ImportError: /lib/libc.so.6: version `GLIBC_2.14′ not found (required by /usr/local/lib/python2.6/dist-packages/cypari-1.0-py2.6-linux-x86_64.egg/cypari/gen.so)
I’m running Debian GNU/Linux 6 (Squeeze) where glibc is at version 2.11. Even in Unstable (Sid) it is still at 2.13, so upgrading to the upcoming release of Debian (Wheezy) wouldn’t solve the problem. I could possibly try to compile glibc from source, but first I’d like to know if there’s another solution or a workaround.
Comment by Paulo Gomes — August 13, 2012 @ 4:04 pm |