2017-07-02, 01:22 PM
I get this error when I try to run pypilot/boatimu.py or any client or server script:
There are no files on /usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/linebuffer
This is what I have done on a fresh OP 0.12.0:
Then, I have modified your RTIMULib2 fork to avoid errors: https://github.com/seandepagnier/RTIMULi...ter:master
Code:
Traceback (most recent call last):
File "boatimu.py", line 18, in <module>
from signalk.pipeserver import NonBlockingPipe
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/pipeserver.py", line 14, in <module>
from server import SignalKServer, DEFAULT_PORT, default_persistent_path
File "/usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/server.py", line 19, in <module>
from signalk.linebuffer import linebuffer
ImportError: cannot import name linebuffer
There are no files on /usr/local/lib/python2.7/dist-packages/pypilot-0.1-py2.7-linux-armv7l.egg/signalk/linebuffer
This is what I have done on a fresh OP 0.12.0:
Code:
sudo apt-get install swig python-numpy python-scipy python-serial python-gps python-PIL python-dev python-opengl
Then, I have modified your RTIMULib2 fork to avoid errors: https://github.com/seandepagnier/RTIMULi...ter:master
Code:
git clone https://github.com/openplotter/RTIMULib2
cd RTIMULib2/Linux
mkdir build
cd build
cmake ..
make -j4
sudo make install
sudo ldconfig
cd ..
cd RTIMULibDrive
make -j4
sudo make install
cd ..
cd RTIMULibDrive10
make -j4
sudo make install
cd ..
cd python
python setup.py build
sudo python setup.py install
Code:
sudo pip install pyglet pywavefront
Code:
git clone https://github.com/pypilot/pypilot
cd pypilot
sudo python setup.py install