pipでcryptographyのインストールの際、下記のエラーでインストール失敗してしまいます。
対処の仕方ご存知の方いましたら教えて頂ければと思います。
cryptographyのインストール手順
$ sudo yum install gcc libffi-devel python-devel openssl-devel $ pip install cryptography
エラー内容
[ec2-user@ip-172-31-26-130 ~]$ pip install cryptography Collecting cryptography Using cached cryptography-1.7.2.tar.gz Requirement already satisfied: idna>=2.0 in /usr/local/lib/python2.7/site-packages (from cryptography) >>> 省略 >>> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o gcc: internal compiler error: 強制終了 (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. error: command 'gcc' failed with exit status 4 ---------------------------------------- Command "/usr/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-D7pq1v/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-wJSkDl-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-D7pq1v/cryptography/
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。