Conda cv2 ImportError libEGL.so.1 fix (#9255)

This commit is contained in:
Glenn Jocher 2024-03-23 19:43:09 +01:00 committed by GitHub
parent 6de99a29e6
commit 35233822d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -240,6 +240,11 @@ jobs:
channels: conda-forge,defaults
channel-priority: true
activate-environment: anaconda-client-env
- name: Install Linux packages
run: |
# Fix cv2 ImportError: 'libEGL.so.1: cannot open shared object file: No such file or directory'
sudo apt-get update
sudo apt-get install -y libegl1 libopengl0
- name: Install Libmamba
run: |
conda config --set solver libmamba