Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alibi Detect Server libGL.so failed to find in image #2481

Closed
ukclivecox opened this issue Sep 24, 2020 · 0 comments · Fixed by #2482
Closed

Alibi Detect Server libGL.so failed to find in image #2481

ukclivecox opened this issue Sep 24, 2020 · 0 comments · Fixed by #2482
Assignees
Labels
bug triage Needs to be triaged and prioritised accordingly
Projects
Milestone

Comments

@ukclivecox
Copy link
Contributor

Describe the bug

[E 200924 12:29:23 plot:39] Importing plotly failed. Interactive plots will not work.
Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/opt/app-root/src/adserver/__main__.py", line 9, in <module>
    from adserver.od_model import AlibiDetectOutlierModel
  File "/opt/app-root/src/adserver/od_model.py", line 7, in <module>
    from adserver.base import CEModel
  File "/opt/app-root/src/adserver/base/__init__.py", line 2, in <module>
    from .alibi_model import AlibiDetectModel
  File "/opt/app-root/src/adserver/base/alibi_model.py", line 4, in <module>
    from alibi_detect.utils.saving import load_detector, Data
  File "/opt/app-root/lib/python3.6/site-packages/alibi_detect/__init__.py", line 1, in <module>
    from . import ad, cd, metrics, models, od, utils
  File "/opt/app-root/lib/python3.6/site-packages/alibi_detect/od/__init__.py", line 10, in <module>
    from .llr import LLR
  File "/opt/app-root/lib/python3.6/site-packages/alibi_detect/od/llr.py", line 13, in <module>
    from alibi_detect.utils.perturbation import mutate_categorical
  File "/opt/app-root/lib/python3.6/site-packages/alibi_detect/utils/perturbation.py", line 1, in <module>
    import cv2
  File "/opt/app-root/lib/python3.6/site-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

To reproduce

Build seldonio/alibi-detect-server:1.3.0-dev

@ukclivecox ukclivecox added bug triage Needs to be triaged and prioritised accordingly labels Sep 24, 2020
@ukclivecox ukclivecox self-assigned this Sep 24, 2020
@ukclivecox ukclivecox added this to To do in 1.3 via automation Sep 24, 2020
@ukclivecox ukclivecox added this to the 1.3 milestone Sep 24, 2020
@ukclivecox ukclivecox moved this from To do to In Review in 1.3 Sep 24, 2020
1.3 automation moved this from In Review to Done Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs to be triaged and prioritised accordingly
Projects
No open projects
1.3
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant