Coder Social home page Coder Social logo

Comments (6)

mccwdev avatar mccwdev commented on August 24, 2024

What could help is installing scrypt first with pip install scrypt and then bitcoinlib.

Also the library isn't tested yet with python 3.7, so for now it's better to use python 3.6.

from bitcoinlib.

mccwdev avatar mccwdev commented on August 24, 2024

Any succes yet? The latest bitcoinlib version 4.2 is tested with Python 3.7 so this shouldn't cause any problems. The scrypt package also requires the development version of Python, I'm not sure if this version is installed by default in your Windows / Visual Studio environment.

from bitcoinlib.

jamesyoungdigital avatar jamesyoungdigital commented on August 24, 2024

No success, I need a way to point it to the correct location of openssl/aes.h I think. Is that what the issue seems to be?

Thank you

from bitcoinlib.

mccwdev avatar mccwdev commented on August 24, 2024

It seems there are no binary wheels for the scrypt package for Python 3.7, see https://pypi.org/project/scrypt/. So it tries to compile them and then fails. I'm not sure why it fails and how to solve it. Another thing you could try is to install the openSSL library.

from bitcoinlib.

mccwdev avatar mccwdev commented on August 24, 2024

In the new version 0.4.4 support for pyscrypt is added, if installation of scrypt fails. Pyscrypt is slow but this is not a problem if you're not using BIP38 password protected private keys.

Just install bitcoinlib and if you run into scrypt errors try 'pip install pyscrypt'

from bitcoinlib.

cocoonkid avatar cocoonkid commented on August 24, 2024

I had the same issue with macos.

https://stackoverflow.com/questions/54617308/pip-install-produces-the-following-error-on-mac-error-command-gcc-failed-wit

I solved it with setting the export flags one time. Then I was able to pip install scrypt and everything worked thereafter.

from bitcoinlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.