Install cysignals-tools by entering the following commands in the terminal:
sudo apt update sudo apt install cysignals-tools
interrupt and signal handling for Cython -- tools
Since Cython optimizes for speed, Cython normally does not check for interrupts. The cysignals package provides mechanisms to handle interrupts (and other signals and errors) in Cython code. . This package provides debugging tools.