Ask Your Question

Revision history [back]

how to install the package LattE on sage in ubuntu

I am getting the following error message after initial computation when running Sage (installed from source) on Ubuntu


---------------------------------------------------------------------------

FeatureNotPresentError Traceback (most recent call last) <ipython-input-60-45e1ce1b24fb> in <module> 3 for T in ld_greater_one: 4 dif = T + (-T) ----> 5 print(successive_minimum(dif)) 6 #if s_min < 1/4: 7 #if successive_minimum(dif) < 1/4:

<string> in successive_minimum(P)

/usr/lib/python3/dist-packages/sage/geometry/polyhedron/base_QQ.py in integral_points_count(self, verbose, use_Hrepresentation, explicit_enumeration_threshold, preprocess, **kwds) 212 213 from sage.interfaces.latte import count --> 214 return count( 215 p.cdd_Hrepresentation() if use_Hrepresentation else p.cdd_Vrepresentation(), 216 cdd=True,

/usr/lib/python3/dist-packages/sage/interfaces/latte.py in count(arg, ehrhart_polynomial, multivariate_generating_function, raw_output, verbose, **kwds) 114 """ 115 # Check that LattE is present --> 116 Latte().require() 117 118 arg = str_to_bytes(arg)

/usr/lib/python3/dist-packages/sage/features/__init__.py in require(self) 189 presence = self.is_present() 190 if not presence: --> 191 raise FeatureNotPresentError(self, presence.reason, presence.resolution) 192 193 def __repr__(self):

FeatureNotPresentError: LattE is not available. Executable 'count' not found on PATH. To install count you can try to run 'sage -i latte_int'. Further installation instructions might be available at ......

How to install the package LattE in sage. I get an error message for the command 'sage -i latte_int'. stating

sage-run received unknown option: -i usage: sage [options] Try 'sage -h' for more information.

how to install the package LattE on sage in ubuntu

I am getting the following error message after initial computation when running Sage (installed from source) on Ubuntu


 ---------------------------------------------------------------------------

FeatureNotPresentError Traceback (most recent call last) <ipython-input-60-45e1ce1b24fb> in <module> 3 for T in ld_greater_one: 4 dif = T + (-T) ----> 5 print(successive_minimum(dif)) 6 #if s_min < 1/4: 7 #if successive_minimum(dif) < 1/4:

1/4: <string> in successive_minimum(P)

successive_minimum(P) /usr/lib/python3/dist-packages/sage/geometry/polyhedron/base_QQ.py in integral_points_count(self, verbose, use_Hrepresentation, explicit_enumeration_threshold, preprocess, **kwds) 212 213 from sage.interfaces.latte import count --> 214 return count( 215 p.cdd_Hrepresentation() if use_Hrepresentation else p.cdd_Vrepresentation(), 216 cdd=True,

cdd=True, /usr/lib/python3/dist-packages/sage/interfaces/latte.py in count(arg, ehrhart_polynomial, multivariate_generating_function, raw_output, verbose, **kwds) 114 """ 115 # Check that LattE is present --> 116 Latte().require() 117 118 arg = str_to_bytes(arg)

str_to_bytes(arg) /usr/lib/python3/dist-packages/sage/features/__init__.py in require(self) 189 presence = self.is_present() 190 if not presence: --> 191 raise FeatureNotPresentError(self, presence.reason, presence.resolution) 192 193 def __repr__(self):

__repr__(self): FeatureNotPresentError: LattE is not available. Executable 'count' not found on PATH. To install count you can try to run 'sage -i latte_int'. Further installation instructions might be available at ......

......

How to install the package LattE in sage. I get an error message for the command 'sage -i latte_int'. stating

sage-run received unknown option: -i usage: sage [options] Try 'sage -h' for more information.