Coder Social home page Coder Social logo

Comments (7)

mccwdev avatar mccwdev commented on July 22, 2024

I got the same error with pip and will look into it.
Thanks for your report!

from bitcoinlib.

mccwdev avatar mccwdev commented on July 22, 2024

Released a new version 0.4.9 which should fix this bug. The install path seems different in pip sometimes, a hard-coded version number fixed it.

from bitcoinlib.

brunof17 avatar brunof17 commented on July 22, 2024

Thanks, it worked now.

from bitcoinlib.

brunof17 avatar brunof17 commented on July 22, 2024

I don't know if the fix you did broke the module. When importing the module the following error occurs:

import bitcoinlib
Traceback (most recent call last):
File "", line 1, in
File "/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/init.py", line 20, in import bitcoinlib.encoding
File "/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/encoding.py", line 28, in from bitcoinlib.main import *
File "/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/main.py", line 25, in from bitcoinlib.config.opcodes import *
File "/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/config/init.py", line 20, in import bitcoinlib.config.config
File "/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/config/config.py", line 270, in version_file = open(os.path.join(BCL_INSTALL_DIR, 'config/VERSION'))
FileNotFoundError: [Errno 2] No such file or directory: '/home/bruno/Projetos/testesBIT/lib/python3.7/site-packages/bitcoinlib/config/VERSION'

Do you want me to open another issue?

from bitcoinlib.

mccwdev avatar mccwdev commented on July 22, 2024

mmm embarrassing, the update broke the module.
I will into it again, and also think of a way to test pip installation.

from bitcoinlib.

mccwdev avatar mccwdev commented on July 22, 2024

It should be fixed now in a new release 0.4.10

from bitcoinlib.

brunof17 avatar brunof17 commented on July 22, 2024

Thanks, it all works now 😃

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.