Comments (6)
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.
I just redid the test under git repository, still not passing. Theano: 1.0.4, PyMC3: 3.6, exoplanet: 0.1.5
from exoplanet.
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.
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.
from exoplanet.
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)
- Python 3.10 support HOT 2
- Can Exoplanet/Pymc3 interact with TTVFaster? HOT 3
- xarray serialization error when using observed custom distribution HOT 11
- Issue installing on M1 Mac HOT 4
- celerite2.backprop.LinAlgError: failed to factorize or solve matrix HOT 2
- AttributeError: module 'exoplanet.distributions' has no attribute 'Angle' HOT 1
- TTV fit sampling behaves strangely for long light curves HOT 2
- AttributeError: module 'exoplanet' has no attribute 'get_dense_nuts_step' HOT 1
- Using a number of cores larger than the number of chains HOT 3
- `ImportError` (I think due to numpy dependency) HOT 3
- Tutorial Error for Trace Function
- `ImportError` On clean installation in virtual enviroment HOT 2
- Optimized MAP solution is wrong after clipping residuals
- Change a to a_over_Rsun in KeplerianOrbit HOT 2
- Support numpy >= 1.22 HOT 2
- Looking for library directory when running TESS transit fitting example
- Conflicts with current version of arviz/xarray HOT 4
- Can't seem to verify installation properly on Windows 11 HOT 4
- Installation Error: Failed to build pytensor
- Installation Issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exoplanet.