安装安装pykpass时出错

2024-06-01 23:57:41 发布

您现在位置:Python中文网/ 问答频道 /正文

http://www.huque.com/software/pykpass/安装pykpass模块时遇到以下错误。错误如下:

wrap_kpass.c:1:20: error: Python.h: No such file or directory
wrap_kpass.c:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wrap_kpass.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
wrap_kpass.c:31: error: array type has incomplete element type
wrap_kpass.c:32: error: ‘wrap_kpass’ undeclared here (not in a function)
wrap_kpass.c:32: error: ‘METH_VARARGS’ undeclared here (not in a function)
wrap_kpass.c:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘init_kpass’

任何帮助都将不胜感激。在


Tags: ortokenheretype错误notattributeerror