Maslow Home Maslow Community Garden Newsletter

Installing on Ubuntu issue


#1

Hi,
I get this error when I try to launch GC:

Exception: The version of Kivy installed on this system is too old. (You have 1.9.0, but the application requires 1.9.1)

I am not really familiar with Linux but happens that I have a spare Chromebook that would be ideal to leave in the shop to run the Maslow.
Thanks for your patience and help.


#2

Welcome to the Forum!
What version of Ubuntu do you have installed?


#3

Thanks!
Description: Ubuntu 16.04.5 LTS
Release: 16.04


#4

OK, I remember from 16.04 that it also has a outdated version of the pyserial module.
I managed to update that before, but will need to look up how i did that.

Do you have the superuser (sudo) password and have you worked with the ‘terminal’ before?


#5

Yes, I have superuser and basic knowledge. I can use apt-get, vi editor and basic stuff like that.


#6

Great! Can you do in a terminal ‘pip list’ and post the output? I assume pip is installed.
If not ‘sudo apt-get install pip’.


#7

Here it is:
Package Version


Kivy 1.9.0
numpy 1.11.0
Pillow 3.1.2
pip 19.0.2
pygame 1.9.1release
pygobject 3.20.0
pyserial 3.0.1
setuptools 20.7.0
wheel 0.29.0


#8

Here is my list on ubuntu mate 18:
pip 10.0.1
Kivy 1.9.1
pyserial 3.3

I take no responsibility if something breaks, but what I would try is:

sudo pip install --upgrade pip
sudo pip install --upgrade Kivy
sudo pip install --upgrade pyserial

Edit: Offtopic, but good to know:
Add your user to at least the "Dialout’ group to have user permissions on the ports for the arduino.

sudo usermod -a -G tty {yourUserName}
sudo usermod -a -G dialout {yourUserName}


#9

When I try to upgrade Kivy I get this error:
Cannot uninstall ‘Kivy’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Seems like it cannot remove the old version


#10

skip the pip, install kivy directly

https://kivy.org/doc/stable/installation/installation-linux.html


#11

It worked! Thanks a lot for your help and patience.
Ground Control is now running and so the Arduino IDE.
Firmware is next. I am looking forward to fire it up.