luma.examples icon indicating copy to clipboard operation
luma.examples copied to clipboard

Adapt oled.examples to Jupyter notebook

Open USeebi opened this issue 1 year ago • 0 comments

I'm exploring on running the examples on Jupyter but can't sort how on this error,

from luma.examples.sys_info_extended import *
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[12], line 1
----> 1 from luma.examples.sys_info_extended import *

File ~/notebooks/luma/examples/sys_info_extended.py:19
     17 from pathlib import Path
     18 from datetime import datetime
---> 19 from demo_opts import get_device
     20 from luma.core.render import canvas
     21 from PIL import ImageFont

ModuleNotFoundError: No module named 'demo_opts'

Any idea?

USeebi avatar Sep 26 '24 13:09 USeebi