Nokia 5110 display - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: Nokia 5110 display (/showthread.php?tid=2209) |
Nokia 5110 display - It Paradyske - 2020-01-06 Yes, I know, I had problems with this before... Connected an Nokia display to the newest OpenPlotter image, and started the command pypilot_lcd which seems the new command? I get the following error: pi@openplotter:~ $ pypilot_lcd have gpio for raspberry pi no lirc available Traceback (most recent call last): File "/usr/local/bin/pypilot_lcd", line 11, in <module> load_entry_point('pypilot==0.12', 'console_scripts', 'pypilot_lcd')() File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2852, in load_entry_point return ep.load() File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2443, in load return self.resolve() File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 2449, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python3.7/dist-packages/pypilot-0.12-py3.7-linux-armv7l.egg/lcd/lcd.py", line 41, in <module> from ugfx import ugfx ModuleNotFoundError: No module named 'ugfx' pi@openplotter:~ $ But I can't find how I can install that module ugfx RE: Nokia 5110 display - seandepagnier - 2020-01-07 Thanks for reporting this. I don't think pypilot_lcd works with python3 just yet when run as pypilot_lcd. Either run the lcd.py script directly with python3, or install pypilot with python2 and it will work for now. |