Comments (6)
You must not actually be using the updated exoplanet. Make sure that you pip uninstall exoplanet
a few times and then update from GitHub. It has only been added within the past day or so...
from exoplanet.
Thanks. I re-installed from source and now get this:
File "/home/michael/miniconda3/envs/hpk_env/lib/python3.7/site-packages/theano/gof/cmodule.py", line 2396, in compile_str
(status, compile_stderr.replace('\n', '. ')))
Exception: ('The following error happened while compiling the node', GetClOp(TensorConstant{[-1. 0.3 0.2]}), '\n', 'Compilation failed (return status=1): In file included from /home/michael/.theano/compiledir_Linux-4.15--generic-x86_64-with-debian-buster-sid-x86_64-3.7.0-64/tmpk3a4zjpg/mod.cpp:7:0:. /home/michael/miniconda3/envs/hpk_env/lib/python3.7/site-packages/exoplanet-0.1.4.dev0-py3.7.egg/exoplanet/theano_ops/starry/include/theano_helpers.h:5:10: fatal error: Eigen/Core: No such file or directory. #include <Eigen/Core>. ^~~~~~~~~~~~. compilation terminated.. ', '[GetClOp(TensorConstant{[-1. 0.3 0.2]})]')
from exoplanet.
That suggests to me that you didn't recursively clone because Eigen is included in the starry submodule. Try running the following in your git checkout:
git submodule update --init --recursive
and then
pip uninstall exoplanet
python setup.py develop
or
pip uninstall exoplanet
python setup.py install
from exoplanet.
Thanks again. I did as suggested and receive new errors:
ERROR (theano.gof.opt): Optimization failure due to: constant_folding
AttributeError: ('The following error happened while compiling the node', MakeVector{dtype='int64'}(), '\n', "module 'numpy.core.multiarray' has no attribute '_get_ndarray_c_version'")
I googled these and they appear to be related to Theanos. I re-installed Theanos using pip and conda (both installed version 1.0.3). Theanos and numpy appear to work fine. Any idea? Sorry to bother again...
from exoplanet.
Ah! This last error is only present if numpy==1.16. It runs fine in numpy==1.15.
Probably worth checking compatibility with different theanos + numpy versions
from exoplanet.
This is a Theano problem (or maybe conda, depending on how you interpret it), not an exoplanet problem. Raise an issue there if you want, but that's not something that this repo will fix!
Note that Theano 1.0.4 is compatible with numpy 1.16 (as tested here: https://travis-ci.org/dfm/exoplanet).
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.