Giter Site home page Giter Site logo

python api about kgraph HOT 4 CLOSED

aaalgo avatar aaalgo commented on September 13, 2024
python api

from kgraph.

Comments (4)

aaalgo avatar aaalgo commented on September 13, 2024

I can confirm this with python3 and am working on it. Python2 is OK.

from kgraph.

aaalgo avatar aaalgo commented on September 13, 2024

I've fixed my test case. I was linking against python2 version of boost_python. The error went away after I made sure I was linking against the python3 version. So I'm closing this issue.

After you run "python setup.py build", use "ldd build/lib*/pykgrah*.so" to find out the exact boost_python .so file you are using. Python 3 version is usually called "libboost_python3.so....". In my case, I have to modify setup.py and change boost_python to boost_python3 to make it work.

from kgraph.

aaalgo avatar aaalgo commented on September 13, 2024

I've updated the code to select boost_python vs boost_python3 automatically. But boost_python3 might have a different name on different platforms, so you might still need to modify setup.py.

from kgraph.

cestas avatar cestas commented on September 13, 2024

hi thank you very much. like you said, Python 2 works fine. I'll test the python3 in the next day or so and let you know. thanks again for your really quick reply.

from kgraph.

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.