Giter Club home page Giter Club logo

Comments (3)

hovren avatar hovren commented on August 11, 2024

Hi,

It seems like you are using Python 3.5, is that correct?

If so, that is the problem since the minimum supported Python version is 3.6.

from kontiki.

icameling avatar icameling commented on August 11, 2024

That's it ! After using Python3.6, I finally compiled the files successfully. Thank you very much ~

Installed /usr/local/lib/python3.6/dist-packages/kontiki-0.9-py3.6-linux-x86_64.egg
Processing dependencies for kontiki==0.9
Searching for h5py==2.6.0
Best match: h5py 2.6.0
h5py 2.6.0 is already the active version in easy-install.pth

Using /usr/lib/python3/dist-packages
Searching for numpy==1.11.0
Best match: numpy 1.11.0
numpy 1.11.0 is already the active version in easy-install.pth

Using /usr/lib/python3/dist-packages
Searching for scipy==0.17.0
Best match: scipy 0.17.0
scipy 0.17.0 is already the active version in easy-install.pth

Using /usr/lib/python3/dist-packages
Finished processing dependencies for kontiki==0.9

And by the way, Is there some tutorials or examples like this about using Kontiki in the form of C++ without using python? I really appreciate it if you could provide some examples in the form of C++.

from kontiki.

hovren avatar hovren commented on August 11, 2024

Glad it worked.

There is currently no C++ tutorial, and I fear I won't have time to make one in the near future.
Feel free to open a new issue about it so that one can track that it has been asked for.

Since the Python API is more or less a direct conversion (i.e. binding) of the C++ classes, you should be able to quite easily take a Python example and do a line-by-line translation to C++.
Note that the C++ API uses std::shared_ptr extensively, which means a trajectory is created like this:

auto trajectory = std::make_shared<kontiki::trajectories::SplitTrajectory>(knot_distance, knot_distance, min_time, min_time);

from kontiki.

Related Issues (6)

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.