3b1b / 3b1b/manim

OSError: libGL.so not found while running embed mode in ManimGL

Aperta
#2,234 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
93.8k
Fork
7.7k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Describe the error
I am encountering an `OSError` when trying to run a ManimGL script in embed mode. The error indicates that the `libGL.so` file cannot be found, which prevents the code from executing properly.

### Code and Error
**Code**:
```python
from manimlib import *

class Def(InteractiveScene):
def construct(self):
self.embed()
color = Square()
self.play(
Write(color), run_time=1
)
t = TexText("Requested Square")
t.set_color_by_gradient([BLUE, YELLOW_A])
self.add(t)
self.wait(2)
```

**Error**:
```
OSError: libGL.so: cannot open shared object file: No such file or directory
```

### Environment
**OS System**: Ubuntu on Termux (Android)
**manim version**: master
**python version**: 3.13

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.