g6k icon indicating copy to clipboard operation
g6k copied to clipboard

g6k/siever.pyx:1539:8: 'sig_off' is not a constant, variable or function identifier

Open sunset233 opened this issue 6 months ago • 0 comments

hello, when I run the setup.py in linux system, a problem was encountered, I need some help to resolve the issue:

Image

Error compiling Cython file:

... T[i][j] = self.M.U[m-1-(new_l + i)][m-1-(self.l + j)]

    # update the basis (GSO or integral) of the lattice after insert
    sig_on()
    self._core.gso_update_postprocessing(new_l, self._core.r, <long*>T.data)
    sig_off()
    ^

g6k/siever.pyx:1539:8: 'sig_off' is not a constant, variable or function identifier Traceback (most recent call last): File "setup.py", line 109, in ext_modules=cythonize( File "/usr/local/lib/python3.8/dist-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/usr/local/lib/python3.8/dist-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one raise CompileError(None, pyx_file) Thank you!

sunset233 avatar Jun 25 '25 15:06 sunset233