gmpy2是CTF RSA题目常用模块,在kaili中使用Python2安装出现报错,百度了一下,apt-get install libmpc-dev执行这个命令安装libmpc-dev,再Python2安装gmpy2,可正常安装并使用。