Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Running SLEAP headless #1926

@agosztolai

Description

@agosztolai

Hello,

I am trying to run SLEAP on a remote server that does not have displays installed.

I can install SLEAP without issues using conda. However, when I want to import sleap in python I get the following error.

>>> import sleap
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/msc/home/agoszt25/sleap/sleap/__init__.py", line 10, in <module>
    from sleap.io.dataset import Labels, load_file
  File "/msc/home/agoszt25/sleap/sleap/io/dataset.py", line 83, in <module>
    from sleap.gui.dialogs.missingfiles import MissingFilesDialog
  File "/msc/home/agoszt25/sleap/sleap/gui/dialogs/missingfiles.py", line 10, in <module>
    from qtpy import QtWidgets, QtCore, QtGui
  File "/msc/home/agoszt25/miniconda3/envs/sleap/lib/python3.7/site-packages/qtpy/QtWidgets.py", line 111, in <module>
    from PySide2.QtWidgets import *
  File "/msc/home/agoszt25/miniconda3/envs/sleap/lib/python3.7/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Do you know how to resolve this issue? Can SLEAP be run in 'headless' mode?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions