Luma.OLED RPI3 ImportError: No module named luma....
See original GitHub issueSorry to be a pain but having spent an hour here and an hour there on this and followed through all the other people having similar issues, I still cannot get any of the examples to run on my RPI3 running the latest Raspian.
I’ve remove, installed, pulled the latest examples down and have…
luma.core (0.5.4)
luma.oled (2.2.5)
…both installed. I’m also using pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)
running python examples/demo.py gives:
Traceback (most recent call last):
File "examples/demo.py", line 17, in <module>
from luma.core.render import canvas
ImportError: No module named luma.core.render
and as another example, running python examples/welcome.py gives:
File "examples/welcome.py", line 14, in <module>
from luma.core.virtual import viewport, snapshot, range_overlap
ImportError: No module named luma.core.virtual
Any and all help would be much appreciated.
Issue Analytics
- State:
- Created 7 years ago
- Comments:24 (5 by maintainers)
Top Results From Across the Web
Source code for luma.core.cmdline
__all__ else: return [name for name, _ in inspect.getmembers(module, inspect.isclass) if name != "device"] except ImportError: return [].
Read more >error with luma.led_matrix - Raspberry Pi Forums
"error in luma.led_matrix setup command: 'tests_require' must be a string or list of ... ImportError: No module named 'luma.led_matrix'
Read more >Help with I2C OLED display : r/raspberry_pi - Reddit
I then found the examples and I attempted to run the clock.py and got the first ImportError: No module named 'demo_opts'. The OLED...
Read more >No module named micropython - ElectronDepot
I am trying to install the ssd1327 driver for a oled display. Adafruit's library file won't install because. This library is not available...
Read more >unable to install e-paper display, module epd2in7 not found
If you list the files in raspberrypi/python with ls , you should notice an epd2in7.py file among others. That is the missing module...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nishabe:
The pip installed on Jessie was quite old AFAICR, so we needed to bootstrap the latest pip and setuptools from pypi. Maybe that advice no longer applies on the latest Rasbian image.
You should just install the latest luma.oled from pypi using
sudo -H pip install --upgrade --force-reinstall --ignore-installed luma.oled
and if you could post the output of that command herethanks again 😃 @thijstriemstra