Giter Club home page Giter Club logo

Comments (5)

rescrv avatar rescrv commented on July 19, 2024

It sounds as if you built from source. Did you provide the --enable-python-bindings flag to configure?

Looking at where the hypercoordinator package is, I'd estimate that hyperclient will end up at /home/tiger/Share/hyperdex/hyperdex-install/hyperdex/lib/python2.7/site-packages/hyperclient.so. If providing the flag to configure still does not work, can you attach your config.log file?

from hyperdex.

abstiger avatar abstiger commented on July 19, 2024

yeath, it works! thank you very much!
as you said, I didn't add the --enable-python-bindings flag to configure last time.

but i got another problem with going through the tutorial,
everything goes fine with:

import hyperclient
c = hyperclient.Client('127.0.0.1', 1234)
but it blocked at:
c.insert('phonebook', 'jsmith1', {'first': 'John', 'last': 'Smith','phone': 6075551024})

and i notified that the coordinator throw out an info:
INFO:root:new host uses ID Unidentified(127.0.0.1, 39409)
INFO:root:Unidentified(127.0.0.1, 39409) identified by Client(127.0.0.1, 39409)

did i missed something else?

from hyperdex.

abstiger avatar abstiger commented on July 19, 2024

sorry, i recreated the "phonebook" space, then the insert operation and others passed. :- )

from hyperdex.

limaoscarjuliet avatar limaoscarjuliet commented on July 19, 2024

Suggest adding python bindings on by default as long as tutorial uses them and this is the only option. I went though the same problem and it took some time to figure out.

These can be taken to False when we have multiple APIs and user has choice.

from hyperdex.

abstiger avatar abstiger commented on July 19, 2024

ya, thank you~ limalscarjuliet!

from hyperdex.

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.