kivy-smoothie-host install issues

140 views
Skip to first unread message

brian iglehart

unread,
Jun 18, 2017, 4:59:42 PM6/18/17
to Smoothieware Support
Have a raspberry pi3 with the official touch screen and trying to get the kivy-smoothie-host working. The Kivy examples are working.
Loaded KivyPie (v1.10.0) with the default Python 3.4.2. 
Followed the "Install on RPI" instructions on https://github.com/wolfmanjm/kivy-smoothie-host.

Receiving error messages:
[Traceback (most recent call last):
 File "main.py"' line 26, in <module>
  from comms import Comms
 File "/kivy-smoothie-host/comms.py", line 3, in <module>
  import serial_asyncio
ImportError: No module named 'serial_asyncio']

The serial_asyncio file is installed at sysop@kivypie:/kivy-smoothie-host/pyserial-asyncio/serial_asyncio. Also installed at sysop@kivypie:/pyserial-asyncio/serial_asyncio.

I am new to Linux but there is some kind of settings/configuration file that is not correct. Does anyone know what I have wrong? Appreciate your help.


wolfmanjm

unread,
Jun 18, 2017, 8:16:10 PM6/18/17
to Smoothieware Support
you need to actually install the serial-asyncio.. try this...  

sudo python3 -m pip install pyserial pyserial-asyncio aiofiles

Also use this branch..


the instructions are better too.

brian iglehart

unread,
Jun 19, 2017, 7:17:53 PM6/19/17
to Smoothieware Support
Hi wolfmanjm,

Tried the sudo python3 -m pip install pyserial pyserial-asyncio aiofiles but it said it was already installed and came up with the same error messages.

Looked at the branch https://github.com/wolfmanjm/kivy-smoothie-host/tree/add/MPG-style-jogging-knob and tried to use the Jessie instructions. 
1. Loaded Raspbian Jessie with PIXEL from the  RaspberryPi website onto the Pi3. It is working.
2. Tried [echo "deb http://archive.mitako.eu/ jessie main" > /etc/apt/sources.list.d/mitako.list] AND tried  [sudo echo "deb http://archive.mitako.eu/ jessie main" > /etc/apt/sources.list.d/mitako.list]
Getting  message [bash: /etc/apt/sources.list.d/mitake.list: Permission denied]

Appreciate any insight you have!

wolfmanjm

unread,
Jun 20, 2017, 6:19:07 PM6/20/17
to Smoothieware Support
you need to do python3 -m pip install --update if it is already installed also be aware of where it is installing you can install locally and/or globally this is standard python stuff you need to check on.

brian iglehart

unread,
Jun 21, 2017, 6:49:29 PM6/21/17
to Smoothieware Support
Been working on this installation for 6 days. Little frustrated.
Should everything be installed from the root [cd /] or should everything be installed at the pi directory [cd /home/pi]? 

Thanks

wolfmanjm

unread,
Jun 21, 2017, 8:09:22 PM6/21/17
to Smoothieware Support
That is a personal preference choose one and stick to it otherwise it gets confusing.

You may want to start from scratch, delete all pip plugins etc and choose to install locally or globally and do all of them that way.

Also it is best to use the 1.10.1 kivy as the 1.10.0 seems to have bugs.
Reply all
Reply to author
Forward
0 new messages