nespinoza / exonailer Goto Github PK
View Code? Open in Web Editor NEWTools for fitting transiting exoplanet lightcurves and radial velocities
License: MIT License
Tools for fitting transiting exoplanet lightcurves and radial velocities
License: MIT License
Hi there,
I had trouble installing exonailer because of the automatic installation of the external modules. The failed with exit code 1 was not very helpful to work out why it failed.
(azores)) [jneal@localhost exonailer]$ python install.py
> Numpy is ok!
> Scipy is ok!
> Astropy is ok!
> batman is ok!
> emcee is ok!
> C code found in directory utilities/ajplanet. Building...
----------------------------------------------------------
> ERROR: exonailer couldn't be installed.
> Problem building code in utilities/ajplanet. The error was:
error: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/usr/local/include -Ibuild/src.linux-x86_64-2.7 -I/home/jneal/miniconda3/envs/azores/lib/python2.7/site-packages/numpy/core/include -I/home/jneal/miniconda3/envs/azores/include/python2.7 -c ./true_anomaly.c -o build/temp.linux-x86_64-2.7/true_anomaly.o" failed with exit status 1
After trying to build ajplanet manually I recovered this error.
((azores)) [jneal@localhost ajplanet]$ make
gcc -c true_anomaly.c -I/usr/local/include
true_anomaly.c:3:25: fatal error: gsl/gsl_math.h: No such file or directory
compilation terminated.
Makefile:19: recipe for target 'true_anomaly.o' failed
make: *** [true_anomaly.o] Error 1
Which revealed that I was missing the GNU scientific library (gsl).
It would be helpful if gsl was added to the requirements list. Or that the error message could return the error message from ajplanet which would have easily shown that gsl was missing.
Thanks Jason
Traceback (most recent call last):
File "exonailer.py", line 5, in
import data_utils
File "utilities/data_utils.py", line 195, in
import Wavelets
File "utilities/Wavelets.py", line 3, in
import FWT
ImportError: No module named FWT
What is FWT module? is it from GSL?
I already install gsl in my Ubuntu 16.04 using "sudo apt-get install libgsl2 libgsl-dev"
I followed all the steps for the installation (I got all the libraries needed and ran install.py), but when I tried to run exonailer.py I got this error:
Traceback (most recent call last):
File "exonailer.py", line 26, in
t_tr,phases,f, f_err,transit_instruments = data_utils.pre_process(t_tr,f,f_err,options,transit_instruments,parameters)
AttributeError: 'module' object has no attribute 'pre_process'
Do you know what could it be? I'm running all this in an environment with Python 2 and I have tried a lot of things but I can't run it.
Thanks in advance.
Hi,
I noticed you import urllib
and tarfile
on install.py
but it's never used. Do you think you can remove them?
Also, would you be interested in a pull request with a distutils-type installation with a setup.py?
That way installation would go as
python setup.py install
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.