I'm running sage-5.10.rc0.
When I evaluate the following code:
p = ReflexivePolytope(3,2)
points = p.points().columns()
pointConfig = PointConfiguration(points)
regular = pointConfig.restrict_to_regular_triangulations(True)
regular
I get the error:
You must install TOPCOM to test for regularity.
But I have installed TOPCOM, using the command install_package('TOPCOM') in the notebook!
Any ideas what is going on? The full traceback on my error message is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_12.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("cCA9IFJlZmxleGl2ZVBvbHl0b3BlKDMsMikKcG9pbnRzID0gcC5wb2ludHMoKS5jb2x1bW5zKCkKcG9pbnRDb25maWcgPSBQb2ludENvbmZpZ3VyYXRpb24ocG9pbnRzKQpyZWd1bGFyID0gcG9pbnRDb25maWcucmVzdHJpY3RfdG9fcmVndWxhcl90cmlhbmd1bGF0aW9ucyhUcnVlKQpyZWd1bGFy"),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpVZpwc_/___code___.py", line 6, in <module>
regular = pointConfig.restrict_to_regular_triangulations(True)
File "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 790, in restrict_to_regular_triangulations
star=self._star)
File "classcall_metaclass.pyx", line 330, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ (build/cythonized/sage/misc/classcall_metaclass.c:1224)
File "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 311, in __classcall__
.__classcall__(cls, points, connected, fine, regular, star, defined_affine)
File "cachefunc.pyx", line 992, in sage.misc.cachefunc.WeakCachedFunction.__call__ (build/cythonized/sage/misc/cachefunc.c:5394)
File "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/structure/unique_representation.py", line 447, in __classcall__
instance = typecall(cls, *args, **options)
File "classcall_metaclass.pyx", line 518, in sage.misc.classcall_metaclass.typecall (build/cythonized/sage/misc/classcall_metaclass.c:1586)
File "/home/whitchua/sage-5.10.rc0/local/lib/python2.7/site-packages/sage/geometry/triangulation/point_configuration.py", line 342, in __init__
raise ValueError, 'You must install TOPCOM to test for regularity.'
ValueError: You must install TOPCOM to test for regularity.
--Ursula Whitcher.