Mint12にPython用のM2Cryptoをインストールしようとしています。`pythonsetup.pybuildを実行しましたが、ビルドが失敗し、次のように表示されます。
error: command 'gcc' failed with exit status 1
前の2行は、Python.hに問題がある可能性があることを示しています。
SWIG/_m2crypto_wrap.c:126:20: fatal error: Python.h: No such file or directory
compilation terminated
これを修正するために何をする必要があるかを誰かが知っているなら、私に知らせてください。
編集
インストールしようとしましpython-dev
たが、次のエラーが発生します。
The following packages have unmet dependencies:
python-dev: Depends: python (= 2.6.6-2ubuntu1) but 2.7.2-7ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages