OpenMarine

Full Version: running pypilot_scope on openplotter 2.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm getting ImportErrors running pypilot_scope en pypilot_calibration on openplotter 2.0 image (2020-03-24). I've tried the dependencies in https://github.com/pypilot/pypilot/blob/master/README to no avail; don't want to mess up my image too much. So what should I install more?

Thx...


Code:
pi@openplotter:~ $ pypilot_scope
Traceback (most recent call last):
  File "/usr/local/bin/pypilot_scope", line 11, in <module>
    load_entry_point('pypilot==0.16', 'console_scripts', 'pypilot_scope')()
[...]
  File "/usr/local/lib/python2.7/dist-packages/pypilot-0.16-py2.7-linux-armv7l.egg/pypilot/ui/scope_wx.py", line 11, in <module>
    from OpenGL.GL import *
ImportError: No module named wx
sudo apt install python-wxgtk3.0-dev

Does this help?
(2020-07-16, 09:31 PM)seandepagnier Wrote: [ -> ]sudo apt install python-wxgtk3.0-dev

Does this help?

Now it says ImportError: No module named OpenGL.GL for pypilot_scope and No module named OpenGL.GLUT for pypilot_calibration.
sudo pip install pyglet pywavefront

It's in the README:
https://github.com/pypilot/pypilot