2017-05-31 3 views
1

Ubuntuにpyethappをインストールすると、コンパイルが2回終了しました。scrypt - python ethereum(pyethapp)のビルドホイールに失敗しました

まず、私はパッケージをインストール:

apt-get install build-essential automake pkg-config libtool libffi-dev libgmp-dev 

私はvirtualenvのを作って、ピップとvenv内pyethappをインストールしようとした:

pip install mytheapp 

が、それは2次のエラーでクラッシュしました:

1.)

#include <openssl/aes.h> 
         ^
    compilation terminated. 
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 

    ---------------------------------------- 
    Failed building wheel for scrypt 

2)

scrypt-1.2.0/libcperciva/crypto/crypto_aes.c:6:25: fatal error: openssl/aes.h: No such file or directory 
    #include <openssl/aes.h> 
          ^
    compilation terminated. 
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 

    ---------------------------------------- 
Command "/home/iceing/.virtualenvs/pyethapp/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3PNrgn/scrypt/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-SSJvgT-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/iceing/.virtualenvs/pyethapp/include/site/python2.7/scrypt" failed with error code 1 in /tmp/pip-build-3PNrgn/scrypt/ 

答えて

1

あなたがOpenSSLを必要とするようだ:

apt-get install openssl 
+0

私はOpenSSLがすでに –

+0

をインストールしているUSR /あり/ include/openssl/aes.h? – phd

+0

はい、それは..... –

3

この1つは私の仕事:

sudo apt-get install libssl-dev 
関連する問題