Skip to content

conda pre-built install on personal computer: documentation is missing

Hi. For reasons that I don't understand, I can no longer import ligo.skymap in my ligo-py36 environment on my laptop at home (it still works fine on my work laptop, dunno why).

If you care, here's the error I get:
from ligo.skymap.io import fits
ImportError: dlopen(/Users/ajw/miniconda3/envs/ligo-py36/lib/python3.6/site-packages/ligo/skymap/core.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libcblas.3.dylib
  Referenced from: /Users/ajw/miniconda3/envs/ligo-py36/lib/python3.6/site-packages/ligo/skymap/core.cpython-36m-darwin.so
  Reason: image not found

Anyway, my only idea is to completely re-install the environment (probably a good idea anyway), and while I'm at it, move to py37.

I went looking for instructions in https://docs.ligo.org/lscsoft/conda/environments/ https://wiki.ligo.org/Computing/Conda

but it doesn't seem to give me the right instructions. I don't want to mount /cvmfs/ . My notes from February say I should do this:

wget -q https://git.ligo.org/lscsoft/conda/raw/master/environment-py37.yml
conda env create -f environment-py37.yml
conda activate ligo-py37
 

and that is what I think I want to do. Isn't this what most people would want to do? I can't find any mention of this in https://docs.ligo.org/lscsoft/conda/environments/ Should(n't) there be?

Thanks! Alan