Ubuntu Server 20.04

347 views
Skip to first unread message

Tom

unread,
Mar 27, 2021, 3:32:42 PM3/27/21
to ClusterHAT
Hi Complete noob,

I just want the command "clusterhat on" to work with ubuntu server i understand i can git clone the respository but no sure how to do get it working.

Can you help?


Tom

Chris Burton

unread,
Mar 28, 2021, 3:43:13 AM3/28/21
to ClusterHAT
Hi, 
I just want the command "clusterhat on" to work with ubuntu server i understand i can git clone the respository but no sure how to do get it working.

The instructions on https://8086.support/?action=faq&cat=13&id=120&artlang=en should work - if not let me know and I'll update them.

Chris. 

Tom

unread,
Mar 28, 2021, 9:24:38 AM3/28/21
to ClusterHAT
Thanks very much!

Ill give them a go!

Tom

Tom

unread,
Mar 31, 2021, 10:12:34 AM3/31/21
to ClusterHAT
ah so the instructions above arent working on ubuntu server 20.10 on the pi.

apt install git libusb-1.0-0-dev python-usb python-libusb1 python-smbus

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Package python-smbus is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source


E: Unable to locate package python-usb

E: Unable to locate package python-libusb1

E: Package 'python-smbus' has no installation candidate

Tom

unread,
Mar 31, 2021, 10:19:35 AM3/31/21
to ClusterHAT
currently installing python2.7 and pip and going to see if i can install those modules through pip

Tom

unread,
Mar 31, 2021, 10:27:40 AM3/31/21
to ClusterHAT

clusterctrl-init.service - ClusterCTRL init

     Loaded: loaded (/lib/systemd/system/clusterctrl-init.service; enabled; vendor preset: enabled)

     Active: failed (Result: exit-code) since Wed 2021-03-31 14:24:15 UTC; 1min 48s ago

    Process: 1590 ExecStart=/sbin/clusterctrl init (code=exited, status=127)

   Main PID: 1590 (code=exited, status=127)


Mar 31 14:24:14 ubuntu systemd[1]: Starting ClusterCTRL init...

Mar 31 14:24:14 ubuntu clusterctrl[1590]: /usr/bin/env: ‘python’: No such file or directory

Mar 31 14:24:15 ubuntu systemd[1]: clusterctrl-init.service: Main process exited, code=exited, status=127/n/a

Mar 31 14:24:15 ubuntu systemd[1]: clusterctrl-init.service: Failed with result 'exit-code'.

Mar 31 14:24:15 ubuntu systemd[1]: Failed to start ClusterCTRL init.

Tom

unread,
Mar 31, 2021, 10:32:44 AM3/31/21
to ClusterHAT

ah worked it out!


Ill explain in  a later post!

Chris Burton

unread,
Apr 2, 2021, 4:07:57 PM4/2/21
to ClusterHAT
Hi,
ah so the instructions above arent working on ubuntu server 20.10 on the pi.

Ah, thanks for letting me know,  as Ubuntu 20.10 uses Python 3 you can install using "sudo apt install git libusb-1.0-0-dev python3-usb python3-libusb1 python3-smbus python-is-python3" (I've updated the FAQ entry).

Chris.
Reply all
Reply to author
Forward
0 new messages