Comments (9)
Did you install the requirements ?
from btcbf.
What OS version are you using?
Android
It is not recommended to run Btcbf on Android. To install the requirements, it is necessary to have cryptography libraries installed. On Android cryptography libs need to be compiled. It takes a long time and effort.
from btcbf.
@meesvw
cd /storage/emulated/0/Download/Btcbf-main blink@localhost:/storage/emulated/0/Download/Btcbf-main$ ls
Btcbf.py _config.yml requirements.txt
README.md address.txt
blink@localhost:/storage/emulated/0/Download/Btcbf-main$ pip install -r requirements.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting bit Using cached bit-0.8.0.tar.gz (62 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done Collecting tqdm
Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) (2.26.0)
Collecting coincurve>=4.3.0
Using cached coincurve-14.0.0.tar.gz (192 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y_aEE9/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'cffi>=1.3.0' requests
cwd: None
Complete output (107 lines):
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting cffi>=1.3.0
Using cached cffi-1.15.0.tar.gz (484 kB)
Collecting requests
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting chardet<5,>=3.0.2; python_version < "3"
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting idna<3,>=2.5; python_version < "3"
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3<1.27,>=1.21.1
Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Building wheels for collected packages: cffi
Building wheel for cffi (setup.py): started
Building wheel for cffi (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8rHWGc/cffi/setup.py'"'"'; file='"'"'/tmp/pip-install-8rHWGc/cffi/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/pip-wheel-X7FUMZ
cwd: /tmp/pip-install-8rHWGc/cffi/
Complete output (36 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv8l-2.7
creating build/lib.linux-armv8l-2.7/cffi
copying cffi/init.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/api.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/error.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/lock.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/model.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/pkgconfig.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-armv8l-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv8l-2.7
creating build/temp.linux-armv8l-2.7/c
arm-linux-gnueabihf-gcc -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-zkaHIM/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv8l-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
15 | #include <ffi.h>
| ^~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build cffi
Installing collected packages: pycparser, cffi, chardet, certifi, idna, urllib3, requests
Running setup.py install for cffi: started
Running setup.py install for cffi: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8rHWGc/cffi/setup.py'"'"'; file='"'"'/tmp/pip-install-8rHWGc/cffi/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-record-V0hi1C/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-y_aEE9/normal --compile --install-headers /tmp/pip-build-env-y_aEE9/normal/include/python2.7/cffi
cwd: /tmp/pip-install-8rHWGc/cffi/
Complete output (36 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-armv8l-2.7
creating build/lib.linux-armv8l-2.7/cffi
copying cffi/init.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/api.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/commontypes.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/cparser.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/error.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/ffiplatform.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/lock.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/model.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/pkgconfig.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/recompiler.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/vengine_gen.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/verifier.py -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_embedding.h -> build/lib.linux-armv8l-2.7/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-armv8l-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-armv8l-2.7
creating build/temp.linux-armv8l-2.7/c
arm-linux-gnueabihf-gcc -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-zkaHIM/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv8l-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
15 | #include <ffi.h>
| ^~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8rHWGc/cffi/setup.py'"'"'; file='"'"'/tmp/pip-install-8rHWGc/cffi/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-record-V0hi1C/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-y_aEE9/normal --compile --install-headers /tmp/pip-build-env-y_aEE9/normal/include/python2.7/cffi Check the logs for full command output.
ERROR: Command errored out with exit status 1: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-y_aEE9/normal --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'cffi>=1.3.0' requests Check the logs for full command output.
from btcbf.
Try using Python version 3
from btcbf.
What OS version are you using?
from btcbf.
What OS version are you using?
Android
from btcbf.
@meesvw
$ ls
Btcbf.py _config.yml requirements.txt
README.md address.txt
blink@localhost:/storage/emulated/0/Download/Btcbf-main$ python3 Btcbf.py
Traceback (most recent call last):
File "/sdcard/Download/Btcbf-main/Btcbf.py", line 3, in
from bit.crypto import ECPrivateKey
ImportError: cannot import name 'ECPrivateKey' from 'bit.crypto' (/home/blink/.local/lib/python3.9/site-packages/bit/crypto.py)
from btcbf.
I don't recommend running this on an Android device, but if you really want to you could try this:
pip3 install -r requirements.txt
This command will install the requirements using python3.
Next rerun the script if you get no errors. This should solve that the requirements can't install. If you still get errors it's probably because arm isn't supported. If that's the case you can't run it...
from btcbf.
I also saw this in your error log:
fatal error: ffi.h: No such file or directory
Which can be solved by installing this package: libffi-dev
Command
sudo apt-get install libffi-dev
from btcbf.
Related Issues (20)
- Not an issue HOT 2
- Always run on 1 core CPU only HOT 22
- Hi! What this "62"? HOT 2
- brute force HOT 2
- How long does it take HOT 2
- Test HOT 8
- About Uncompress and p2sh address HOT 4
- Address.txt file question. HOT 2
- Test of sequential mode fails. HOT 2
- How it verifies HOT 1
- Test result random HOT 1
- When will sequential attack be released? HOT 1
- If I make my own address database with only one address, will it just target that address? HOT 1
- Just curious HOT 3
- How to use HOT 17
- Crashes during online and offline brute force operation HOT 3
- How does it stop HOT 2
- Deriveing Bitcoin private key from it's p2sh-segwit address (p2sh p2wpkh) HOT 7
- Btcbf.py won't run HOT 3
- how do i know if i find any HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btcbf.