OSError: libgomp.so.1: cannot open shared object file: No such file or directory

Hello @tom_snowdon

It looks like lightgbm requires libgomp to be installed. In the notebook, can you try adding an APT_PACKAGES attribute to your Config class?

It should look similar to this

class Config:
  APT_PACKAGES = [
    "libgomp1",
  ]
  ADDITIONAL_PACKAGES = [
    'numpy',  # you can define versions as well, numpy==0.19.2
    'pandas',
    'scikit-learn==' + sklearn.__version__,
    'tensorflow',
  ]

Try restarting your runtime if it doesn’t work the first time. Hope this helps! :slight_smile:

3 Likes