Coder Social home page Coder Social logo

Comments (6)

dfm avatar dfm commented on August 16, 2024

The unit tests really only work when executed within the git repository (because of flags, as you say). Did you execute the tests as follows:

git clone https://github.com/dfm/exoplanet
cd exoplanet
py.test -v exoplanet

If so, can you tell me your Theano, PyMC3 and exoplanet versions?

from exoplanet.

Li-Yangyang avatar Li-Yangyang commented on August 16, 2024

I just redid the test under git repository, still not passing. Theano: 1.0.4, PyMC3: 3.6, exoplanet: 0.1.5

from exoplanet.

dfm avatar dfm commented on August 16, 2024

Looking more closely, it looks like the error is coming from the fact that your system isn't exposing a c++ compiler. It looks like you'll need to set the cxx theano flag to point to your c++ compiler. All the ops in exoplanet are implemented in C so it won't work without this! Let me know how that goes.

from exoplanet.

Li-Yangyang avatar Li-Yangyang commented on August 16, 2024

Many thanks. One more thing about the unit-test of exoplanet is that it seems that c++ compiler can not find Eigen3 and starry lib. After I added them to my system lib directory and point cxx to the c++ complier, unit-test worked. Therefore if possible, a brief guidance about that two lib configuration might be added to the testing part of exoplanet documentation.

Regards,
Yangyang

from exoplanet.

dfm avatar dfm commented on August 16, 2024

from exoplanet.

Li-Yangyang avatar Li-Yangyang commented on August 16, 2024

Oh, yeah! I just followed the "git clone" suggestions and didn't check the doc lol. Alright, that works if add --recursive. Still many thanks. It's perfect time to close this issue. :)

Regards,
Yangyang

from exoplanet.

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.