dtamayo / spock

🖖 A package to determine whether planetary orbital configurations will live long and prosper
GNU General Public License v3.0
64 stars 15 forks source link

installation seg fault #20

Closed dtamayo closed 2 years ago

dtamayo commented 2 years ago

Setting up some new linux workstations, I found that the one-liner installation in the README worked fined, but then led to a segmentation fault in python when I tried to import spock.

Rather than trying to trace this back through SPOCK's various dependencies, I found that separating out the packages that need to be installed from conda-forge and installing those first worked fine, i.e.

conda install -c conda-forge pytorch-lightning einops
conda install pip numpy scipy pandas scikit-learn matplotlib torchvision xgboost jupyter ipython h5py
pip install spock

This behavior is probably not too surprising with SPOCK's many actively developed packages. Posting in case it's useful to others (and mostly so I can look it up later :) )