dependency resolution in python3
Hi Leo,
on python3, after doing pip install ligo.skymap
(which works great by the way), the install seems be missing glue, e.g.:
$ python
Python 3.6.5 (default, Mar 29 2018, 15:37:32)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from ligo.skymap import io
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vivien/virtualenvs/test/lib/python3.6/site-packages/ligo/skymap/io/__init__.py", line 11, in <module>
'from .{0} import *'.format(module))
File "<string>", line 1, in <module>
File "/Users/vivien/virtualenvs/test/lib/python3.6/site-packages/ligo/skymap/io/events/__init__.py", line 11, in <module>
'from .{0} import *'.format(module))
File "<string>", line 1, in <module>
File "/Users/vivien/virtualenvs/test/lib/python3.6/site-packages/ligo/skymap/io/events/gracedb.py", line 18, in <module>
from .ligolw import LigoLWEventSource
File "/Users/vivien/virtualenvs/test/lib/python3.6/site-packages/ligo/skymap/io/events/ligolw.py", line 27, in <module>
from glue.ligolw import array, lsctables, param
ModuleNotFoundError: No module named 'glue'
(following the documentation, this is not using bayestar so I did not pip install lalsuite). Adding lscsoft-glue
as a dependency does seem to fix the issue, but it then does require pip install lalsuite
too.
(Within the virtualenv I then get a healpy symbol not found error, but that's probably unrelated).