他の同様のスレッドを見ても、pycryptoは実行できません。UbuntuにPyCryptoをインストールする - ビルド時に致命的なエラーが発生する
私は自分のUbuntuノートパソコンで動作させようとしていますが、私のWindows PCでもそれを管理できませんでした。
私はそれを抽出し、
python setup.py build
を実行しましたが、その後、これは
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Hash._MD2' extension
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes -fPIC -std=c99 -O3 - fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-i686-?2.7/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
は、任意のヘルプをお願い申し上げ起こった、pycrypto-2.6をダウンロードしました。
あなたはpython用の開発ヘッダーがありません。しかし、モジュールが必要な場合は、easy_installまたはpipでインストールしてください。 – qrtt1
easy_install(python-devパッケージなし)を使用して同じエラーが発生しました。 –
py(python-devパッケージなし)を使用して同じエラーが発生しました。 – OmarOthman