etherdelta / bots

EtherDelta example bots
95 stars 119 forks source link

bots/python install broken #19

Open nicobar opened 6 years ago

nicobar commented 6 years ago

Following instructions as per README.md in bots/python I get the following compile error:

(venv) aspera@ubuntu:~$ uname -a Linux ubuntu 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux (venv) aspera@ubuntu:~$ (venv) aspera@ubuntu:~$ pip install -r web3.py/requirements-dev.txt Requirement already satisfied: bumpversion in ./venv/lib/python3.5/site-packages (from -r web3.py/requirements-dev.txt (line 1)) Collecting eth-testrpc>=1.3.3 (from -r web3.py/requirements-dev.txt (line 2)) Using cached eth_testrpc-1.3.3-py3-none-any.whl Collecting ethereum<2.0,>=1.6.1 (from -r web3.py/requirements-dev.txt (line 3)) Collecting flaky>=3.3.0 (from -r web3.py/requirements-dev.txt (line 4)) Using cached flaky-3.4.0-py2.py3-none-any.whl Collecting flake8==3.4.1 (from -r web3.py/requirements-dev.txt (line 5)) Using cached flake8-3.4.1-py2.py3-none-any.whl Collecting hypothesis>=3.31.2 (from -r web3.py/requirements-dev.txt (line 6)) Collecting py-geth==1.10.2 (from -r web3.py/requirements-dev.txt (line 7)) Using cached py_geth-1.10.2-py3-none-any.whl Collecting pytest>=3.2.1 (from -r web3.py/requirements-dev.txt (line 8)) Using cached pytest-3.3.2-py2.py3-none-any.whl Collecting pytest-mock==1. (from -r web3.py/requirements-dev.txt (line 9)) Using cached pytest_mock-1.6.3-py2.py3-none-any.whl Collecting pytest-pythonpath>=0.3 (from -r web3.py/requirements-dev.txt (line 10)) Collecting pytest-watch==4. (from -r web3.py/requirements-dev.txt (line 11)) Collecting pytest-xdist==1. (from -r web3.py/requirements-dev.txt (line 12)) Using cached pytest_xdist-1.21.0-py2.py3-none-any.whl Collecting tox>=1.8.0 (from -r web3.py/requirements-dev.txt (line 13)) Using cached tox-2.9.1-py2.py3-none-any.whl Collecting when-changed (from -r web3.py/requirements-dev.txt (line 14)) Collecting Werkzeug>=0.11.10 (from eth-testrpc>=1.3.3->-r web3.py/requirements-dev.txt (line 2)) Using cached Werkzeug-0.14.1-py2.py3-none-any.whl Requirement already satisfied: json-rpc>=1.10.3 in ./venv/lib/python3.5/site-packages (from eth-testrpc>=1.3.3->-r web3.py/requirements-dev.txt (line 2)) Requirement already satisfied: rlp>=0.4.7 in ./venv/lib/python3.5/site-packages (from eth-testrpc>=1.3.3->-r web3.py/requirements-dev.txt (line 2)) Requirement already satisfied: click>=6.6 in ./venv/lib/python3.5/site-packages (from eth-testrpc>=1.3.3->-r web3.py/requirements-dev.txt (line 2)) Requirement already satisfied: secp256k1 in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: PyYAML in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: pbkdf2 in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: pysha3>=1.0.1 in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: pyethash in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: repoze.lru in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Collecting scrypt (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Using cached scrypt-0.8.0.tar.gz Requirement already satisfied: bitcoin in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Requirement already satisfied: pycryptodome>=3.3.1 in ./venv/lib/python3.5/site-packages (from ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Collecting mccabe<0.7.0,>=0.6.0 (from flake8==3.4.1->-r web3.py/requirements-dev.txt (line 5)) Using cached mccabe-0.6.1-py2.py3-none-any.whl Collecting pyflakes<1.6.0,>=1.5.0 (from flake8==3.4.1->-r web3.py/requirements-dev.txt (line 5)) Using cached pyflakes-1.5.0-py2.py3-none-any.whl Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8==3.4.1->-r web3.py/requirements-dev.txt (line 5)) Using cached pycodestyle-2.3.1-py2.py3-none-any.whl Collecting attrs (from hypothesis>=3.31.2->-r web3.py/requirements-dev.txt (line 6)) Using cached attrs-17.4.0-py2.py3-none-any.whl Collecting coverage (from hypothesis>=3.31.2->-r web3.py/requirements-dev.txt (line 6)) Using cached coverage-4.4.2-cp35-cp35m-manylinux1_x86_64.whl Collecting semantic-version>=2.6.0 (from py-geth==1.10.2->-r web3.py/requirements-dev.txt (line 7)) Using cached semantic_version-2.6.0-py3-none-any.whl Requirement already satisfied: six>=1.10.0 in ./venv/lib/python3.5/site-packages (from pytest>=3.2.1->-r web3.py/requirements-dev.txt (line 8)) Collecting pluggy<0.7,>=0.5 (from pytest>=3.2.1->-r web3.py/requirements-dev.txt (line 8)) Requirement already satisfied: setuptools in ./venv/lib/python3.5/site-packages (from pytest>=3.2.1->-r web3.py/requirements-dev.txt (line 8)) Collecting py>=1.5.0 (from pytest>=3.2.1->-r web3.py/requirements-dev.txt (line 8)) Using cached py-1.5.2-py2.py3-none-any.whl Collecting watchdog>=0.6.0 (from pytest-watch==4.->-r web3.py/requirements-dev.txt (line 11)) Collecting docopt>=0.6.2 (from pytest-watch==4.->-r web3.py/requirements-dev.txt (line 11)) Collecting colorama>=0.3.3 (from pytest-watch==4.->-r web3.py/requirements-dev.txt (line 11)) Using cached colorama-0.3.9-py2.py3-none-any.whl Collecting pytest-forked (from pytest-xdist==1.->-r web3.py/requirements-dev.txt (line 12)) Using cached pytest_forked-0.2-py2.py3-none-any.whl Collecting execnet>=1.1 (from pytest-xdist==1.->-r web3.py/requirements-dev.txt (line 12)) Using cached execnet-1.5.0-py2.py3-none-any.whl Collecting virtualenv>=1.11.2; python_version != "3.2" (from tox>=1.8.0->-r web3.py/requirements-dev.txt (line 13)) Using cached virtualenv-15.1.0-py2.py3-none-any.whl Requirement already satisfied: cffi>=1.3.0 in ./venv/lib/python3.5/site-packages (from secp256k1->ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Collecting argh>=0.24.1 (from watchdog>=0.6.0->pytest-watch==4.->-r web3.py/requirements-dev.txt (line 11)) Using cached argh-0.26.2-py2.py3-none-any.whl Collecting pathtools>=0.1.1 (from watchdog>=0.6.0->pytest-watch==4.->-r web3.py/requirements-dev.txt (line 11)) Collecting apipkg>=1.4 (from execnet>=1.1->pytest-xdist==1.*->-r web3.py/requirements-dev.txt (line 12)) Using cached apipkg-1.4-py2.py3-none-any.whl Requirement already satisfied: pycparser in ./venv/lib/python3.5/site-packages (from cffi>=1.3.0->secp256k1->ethereum<2.0,>=1.6.1->-r web3.py/requirements-dev.txt (line 3)) Building wheels for collected packages: scrypt Running setup.py bdist_wheel for scrypt ... error Complete output from command /home/aspera/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l6fiybcd/scrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpug1p9tixpip-wheel- --python-tag cp35: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.5 copying scrypt.py -> build/lib.linux-x86_64-3.5 running build_ext building '_scrypt' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/src creating build/temp.linux-x86_64-3.5/scrypt-1.2.0 creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/util creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/alg creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/util x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c src/scrypt.c -o build/temp.linux-x86_64-3.5/src/scrypt.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt_smix_sse2.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix_sse2.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/scryptenc/scryptenc.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc/scryptenc.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/util/memlimit.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/util/memlimit.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/alg/sha256.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/alg/sha256.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/crypto/crypto_aes_aesni.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto/crypto_aes_aesni.o -O2 **x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/crypto/crypto_aes.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto/crypto_aes.o -O2 scrypt-1.2.0/libcperciva/crypto/crypto_aes.c:6:25: fatal error: openssl/aes.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Failed building wheel for scrypt ** Running setup.py clean for scrypt Failed to build scrypt Installing collected packages: Werkzeug, scrypt, ethereum, eth-testrpc, flaky, mccabe, pyflakes, pycodestyle, flake8, attrs, coverage, hypothesis, semantic-version, py-geth, pluggy, py, pytest, pytest-mock, pytest-pythonpath, argh, pathtools, watchdog, docopt, colorama, pytest-watch, pytest-forked, apipkg, execnet, pytest-xdist, virtualenv, tox, when-changed Running setup.py install for scrypt ... error Complete output from command /home/aspera/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l6fiybcd/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-vt3evm98-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/aspera/venv/include/site/python3.5/scrypt: running install running build running build_py creating build creating build/lib.linux-x86_64-3.5 copying scrypt.py -> build/lib.linux-x86_64-3.5 running build_ext building '_scrypt' extension creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/src creating build/temp.linux-x86_64-3.5/scrypt-1.2.0 creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/util creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/alg creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto creating build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/util x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c src/scrypt.c -o build/temp.linux-x86_64-3.5/src/scrypt.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt_smix_sse2.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix_sse2.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/crypto/crypto_scrypt.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/crypto/crypto_scrypt.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/scryptenc/scryptenc.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc/scryptenc.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/lib/util/memlimit.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/lib/util/memlimit.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/alg/sha256.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/alg/sha256.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/crypto/crypto_aes_aesni.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto/crypto_aes_aesni.o -O2 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_CONFIG_H -DHAVE_CLOCK_GETTIME=1 -DHAVE_LIBRT=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_STRUCT_SYSINFO=1 -DHAVE_STRUCT_SYSINFO_MEM_UNIT=1 -DHAVE_STRUCT_SYSINFO_TOTALRAM=1 -DHAVE_SYSINFO=1 -DHAVE_SYS_SYSINFO_H=1 -D_FILE_OFFSET_BITS=64 -Iscrypt-1.2.0 -Iscrypt-1.2.0/lib -Iscrypt-1.2.0/lib/scryptenc -Iscrypt-1.2.0/lib/crypto -Iscrypt-1.2.0/lib/util -Iscrypt-1.2.0/libcperciva/cpusupport -Iscrypt-1.2.0/libcperciva/alg -Iscrypt-1.2.0/libcperciva/util -Iscrypt-1.2.0/libcperciva/crypto -I/usr/include/python3.5m -I/home/aspera/venv/include/python3.5m -c scrypt-1.2.0/libcperciva/crypto/crypto_aes.c -o build/temp.linux-x86_64-3.5/scrypt-1.2.0/libcperciva/crypto/crypto_aes.o -O2 scrypt-1.2.0/libcperciva/crypto/crypto_aes.c:6:25: fatal error: openssl/aes.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/aspera/venv/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-l6fiybcd/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-vt3evm98-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/aspera/venv/include/site/python3.5/scrypt" failed with error code 1 in /tmp/pip-build-l6fiybcd/scrypt/ (venv) aspera@ubuntu:~$

Sturgeon-General commented 6 years ago

I had this issue, it is because it doesn't believe you have the openssl library. I'm knew to python and linux and I fixed this a while back so I think I did the following:

sudo apt-get install openssl

Sorry if this isn't correct.