Closed wkila closed 2 years ago
The problem seems related to the scrypt library, you could try to install the scrypt package separately before installing bitcoinlib.
Otherwise see https://pypi.org/project/scrypt/ for Windows installation instructions of scrypt.
Please let me know if this works for you.
The problem seems related to the scrypt library, you could try to install the scrypt package separately before installing bitcoinlib.
Otherwise see https://pypi.org/project/scrypt/ for Windows installation instructions of scrypt.
Please let me know if this works for you.
Hi.
I also have more than one problem installing the library, both in my local environment with Windows and in my vps with Linux. The scrypt
library does not install for me due to this error: scrypt-1.2.1/lib/crypto/crypto_scrypt.c(31): fatal error C1083:...
and on Linux the problem is caused by the library
fastecdsa
(error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory). In both cases I use Python 3.10.
I have searched in many forums and I have tried many methods, I still do not find the solution.
- fastecdsa does not work in Windows, you have to use the ecdsa library instead
- scrypt should work, but installation can be difficult. However it is not part of this project and I'm not really able to help you with this. For scypt related question be check their project page: https://pypi.org/project/scrypt/
- instead of scrypt you could try to install the pyscrypt library, but that project is not maintained anymore, and I haven't test it for a while
Thanks for taking the time to help me.
I have installed both libraries, ecsda and pyscrypt, but still trying to install bitcoinlib it seems to keep trying to install with scrypt:
Building wheel for scrypt (pyproject.toml) ... error
how can i tell it to install via pyscrypt?
This only works if you use git clone and install manually, then the code looks which modules are installed: https://github.com/1200wd/bitcoinlib/blob/7f975a80aabd2d6e8b73c013d4ca6d0724fda54d/bitcoinlib/encoding.py#L39
Did you install all required packages: https://bitcoinlib.readthedocs.io/en/latest/source/_static/manuals.install.html ?
The Linux error suggests you miss the python3-dev packages.
Nothing!! I try everything to install this awesome library in my two workspace (linux n windows). I follow every step, modify the install script to alternative packages (ecdsa, pyscrypt)... I hope in the future this problem can be resolved
The latest release https://github.com/1200wd/bitcoinlib/releases/tag/0.6.5 should fix these issues. For example the installation of scrypt is not required anymore to use the library.
PLS HELP I CANT FIX THIS ALL ERRORS (THIS IS 7TH ERROR) FOR LIKE A 6 HOURS PLS HELP