Update Unit 1 notebook

This commit is contained in:
simoninithomas
2022-12-05 18:40:04 +01:00
parent d67f38131e
commit 9c9071d1ce
2 changed files with 38 additions and 31 deletions

File diff suppressed because one or more lines are too long

View File

@@ -150,6 +150,15 @@ Hence the following cell will install virtual screen libraries and create and ru
!pip3 install pyvirtualdisplay
```
To make sure the new installed libraries are used, **sometimes it's required to restart the notebook runtime**. The next cell will force the **runtime to crash, so you'll need to connect again and run the code starting from here**. Thanks for this trick, **we will be able to run our virtual screen.**
```python
import os
os.kill(os.getpid(), 9)
```
```python
# Virtual display
from pyvirtualdisplay import Display