2021-05-12, 11:52 PM
I updated to the latest pypilot. I get the following error. When I install pyjson via pip3, I get other errors when launching pypilot. What should I try next?
pi@openplotter:~/pypilot $ pypilot_servo
Traceback (most recent call last):
File "/usr/local/bin/pypilot_servo", line 11, in <module>
load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot_servo')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/pi/.local/lib/python3.7/site-packages/pypilot/servo.py", line 13, in <module>
import pyjson
ModuleNotFoundError: No module named 'pyjson'
pi@openplotter:~/pypilot $ pypilot_servo
Traceback (most recent call last):
File "/usr/local/bin/pypilot_servo", line 11, in <module>
load_entry_point('pypilot==0.24', 'console_scripts', 'pypilot_servo')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2793, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/pi/.local/lib/python3.7/site-packages/pypilot/servo.py", line 13, in <module>
import pyjson
ModuleNotFoundError: No module named 'pyjson'