2011-01-19 24 views
1

http://www.huque.com/software/pykpass/から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’ 

ご協力いただければ幸いです。

+1

最初のエラーは、Linuxで実行していますか? Pythonヘッダファイルは 'python-dev'パッケージに含まれているからです。 – rubik

答えて

1

Python.h: No such file or directory

は、おそらくあなたは、パッケージpython-devやPythonの開発用ヘッダの他のフォームをインストールするのを忘れました。

+0

感謝のように働いてくれてありがとう:) – w2lame

関連する問題