diff -up src/sage/sandpiles/sandpile.py.orig src/sage/sandpiles/sandpile.py --- src/sage/sandpiles/sandpile.py.orig 2018-12-22 16:37:10.000000000 -0700 +++ src/sage/sandpiles/sandpile.py 2019-01-16 09:43:32.402089611 -0700 @@ -346,9 +346,6 @@ from sage.arith.all import falling_facto from sage.rings.all import Integer, PolynomialRing, QQ, ZZ from sage.symbolic.all import I, pi, SR -# TODO: remove the following line once 4ti2 functions are removed -path_to_zsolve = os.path.join(SAGE_LOCAL, 'bin', 'zsolve') - def _sandpile_help(cls, usage, verbose=True): @@ -5163,7 +5160,7 @@ class SandpileDivisor(dict): sign_file.close() # compute try: - os.system(path_to_zsolve+' -q ' + lin_sys + ' > ' + lin_sys_log) + os.system('zsolve -q ' + lin_sys + ' > ' + lin_sys_log) # process the results zhom_file = open(lin_sys_zhom,'r') except IOError: