Consensys / mythril

Security analysis tool for EVM bytecode. Supports smart contracts built for Ethereum, Hedera, Quorum, Vechain, Rootstock, Tron and other EVM-compatible blockchains.
https://mythx.io/
MIT License
3.88k stars 741 forks source link

Mythril install error on macOS #1382

Closed yasemincirt closed 2 years ago

yasemincirt commented 4 years ago

Hi everyone,

I get an error when I install the Mythril. I'm putting here the error:

Collecting attrs>=17.4.0
  Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB)
Could not build wheels for mythril, since package 'wheel' is not installed.
Could not build wheels for coloredlogs, since package 'wheel' is not installed.
Could not build wheels for py-ecc, since package 'wheel' is not installed.
Could not build wheels for ethereum, since package 'wheel' is not installed.
Could not build wheels for plyvel, since package 'wheel' is not installed.
Could not build wheels for eth-hash, since package 'wheel' is not installed.
Could not build wheels for eth-typing, since package 'wheel' is not installed.
Could not build wheels for rlp, since package 'wheel' is not installed.
Could not build wheels for ethereum-input-decoder, since package 'wheel' is not installed.
Could not build wheels for humanfriendly, since package 'wheel' is not installed.
Could not build wheels for mypy-extensions, since package 'wheel' is not installed.
Could not build wheels for eth-utils, since package 'wheel' is not installed.
Could not build wheels for coincurve, since package 'wheel' is not installed.
Could not build wheels for future, since package 'wheel' is not installed.
Could not build wheels for pbkdf2, since package 'wheel' is not installed.
Could not build wheels for pyethash, since package 'wheel' is not installed.
Could not build wheels for pycryptodome, since package 'wheel' is not installed.
Could not build wheels for pysha3, since package 'wheel' is not installed.
Could not build wheels for PyYAML, since package 'wheel' is not installed.
Could not build wheels for repoze.lru, since package 'wheel' is not installed.
Could not build wheels for scrypt, since package 'wheel' is not installed.
Could not build wheels for parsimonious, since package 'wheel' is not installed.
Could not build wheels for cytoolz, since package 'wheel' is not installed.
Could not build wheels for cffi, since package 'wheel' is not installed.
Could not build wheels for lru-dict, since package 'wheel' is not installed.
Could not build wheels for asn1crypto, since package 'wheel' is not installed.
Could not build wheels for toolz, since package 'wheel' is not installed.
Could not build wheels for setuptools, since package 'wheel' is not installed.
Could not build wheels for pycparser, since package 'wheel' is not installed.
Could not build wheels for pyrsistent, since package 'wheel' is not installed.
Installing collected packages: scrypt, ethereum, z3-solver, idna, chardet, urllib3, certifi, requests, semantic-version, py-solc, py-solc-x, plyvel, six, parsimonious, eth-abi, hexbytes, eth-rlp, eth-keys, eth-keyfile, attrdict, eth-account, eth-tester, coverage, MarkupSafe, jinja2, zope.interface, transaction, dictionaries, py-flags, mock, configparser, persistent, ethereum-input-decoder, cycler, python-dateutil, numpy, kiwisolver, pyparsing, matplotlib, inflection, pyrsistent, attrs, jsonschema, mythx-models, PyJWT, pythx, eth-bloom, trie, blake2b-py, lru-dict, cached-property, py-evm, mythril
    Running setup.py install for scrypt ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-install-hxyjmw8m/scrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-install-hxyjmw8m/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 /private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-record-6e4pjw8h/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/scrypt
         cwd: /private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-install-hxyjmw8m/scrypt/
    Complete output (36 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.9-x86_64-3.8
    creating build/lib.macosx-10.9-x86_64-3.8/scrypt
    copying scrypt/__init__.py -> build/lib.macosx-10.9-x86_64-3.8/scrypt
    copying scrypt/scrypt.py -> build/lib.macosx-10.9-x86_64-3.8/scrypt
    running build_ext
    building '_scrypt' extension
    creating build/temp.macosx-10.9-x86_64-3.8
    creating build/temp.macosx-10.9-x86_64-3.8/src
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/util
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/alg
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto
    creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/scrypt.c -o build/temp.macosx-10.9-x86_64-3.8/src/scrypt.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/scryptenc/scryptenc.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/util/memlimit.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/util/memlimit.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/alg/sha256.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/alg/sha256.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.o
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes.o
    scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:6:10: fatal error: 'openssl/aes.h' file not found
    #include <openssl/aes.h>
             ^~~~~~~~~~~~~~~
    1 error generated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-install-hxyjmw8m/scrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-install-hxyjmw8m/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 /private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-record-6e4pjw8h/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/scrypt Check the logs for full command output.

what's the fault?

thanks,

norhh commented 4 years ago

Mostly openssl isn't installed, that might be the reason

yasemincirt commented 4 years ago

Hi, I get this error now: (I installed the openssl)

` Could not build wheels for asn1crypto, since package 'wheel' is not installed. Installing collected packages: zope.interface, persistent, eth-keys, semantic-version, eth-tester, idna, chardet, certifi, urllib3, requests, transaction, cached-property, blake2b-py, trie, lru-dict, eth-bloom, py-evm, coverage, py-solc-x, py-solc, parsimonious, eth-abi, ethereum-input-decoder, eth-keyfile, hexbytes, attrdict, eth-rlp, eth-account, scrypt, ethereum, mock, python-dateutil, pyrsistent, attrs, jsonschema, inflection, mythx-models, PyJWT, pythx, MarkupSafe, jinja2, kiwisolver, numpy, pyparsing, cycler, matplotlib, z3-solver, configparser, dictionaries, py-flags, mythril Running setup.py install for scrypt ... error ERROR: Command errored out with exit status 1: command: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-install-s3w052d6/scrypt/setup.py'"'"'; file='"'"'/private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-install-s3w052d6/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 /private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-record-vxxqunxa/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/scrypt cwd: /private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-install-s3w052d6/scrypt/ Complete output (42 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.8 creating build/lib.macosx-10.9-x86_64-3.8/scrypt copying scrypt/init.py -> build/lib.macosx-10.9-x86_64-3.8/scrypt copying scrypt/scrypt.py -> build/lib.macosx-10.9-x86_64-3.8/scrypt running build_ext building '_scrypt' extension creating build/temp.macosx-10.9-x86_64-3.8 creating build/temp.macosx-10.9-x86_64-3.8/src creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1 creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/util creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/alg creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto creating build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/scrypt.c -o build/temp.macosx-10.9-x86_64-3.8/src/scrypt.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/crypto/crypto_scrypt.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/scryptenc/scryptenc.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/lib/util/memlimit.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/util/memlimit.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/alg/sha256.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/alg/sha256.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/crypto/crypto_entropy.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_entropy.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/util/entropy.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/entropy.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/util/insecure_memzero.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/insecure_memzero.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/util/warnp.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/warnp.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/util/humansize.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/humansize.o gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DHAVE_CONFIG_H -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c scrypt-1.2.1/libcperciva/util/asprintf.c -o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/asprintf.o gcc -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.8/src/scrypt.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/crypto/crypto_scrypt.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/lib/util/memlimit.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/alg/sha256.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aes.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/crypto/crypto_entropy.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/entropy.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/insecure_memzero.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/warnp.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/humansize.o build/temp.macosx-10.9-x86_64-3.8/scrypt-1.2.1/libcperciva/util/asprintf.o -lcrypto -o build/lib.macosx-10.9-x86_64-3.8/_scrypt.cpython-38-darwin.so ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1

ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-install-s3w052d6/scrypt/setup.py'"'"'; file='"'"'/private/var/folders/yc/27kfmtls44n7y296g5br1c0000gn/T/pip-install-s3w052d6/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 /private/var/folders/yc/27kfmtls44n7y296g5br__1c0000gn/T/pip-record-vxxqunxa/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/scrypt Check the logs for full command output. `

what should I do?

thank you

norhh commented 4 years ago

You can install by creating a virtual env, that may resolve this issue, or you can use the docker image.

yasemincirt commented 4 years ago

You can install by creating a virtual env, that may resolve this issue, or you can use the docker image.

I installed a virtual env. tool and then I've tried to it's on but the problem not solved. I'll close this issue guess. Thank you.

norhh commented 4 years ago

Then directly using the docket image is probably the best option

norhh commented 2 years ago

This issue should be resolved