sunfounder / nas-kit

SunFounder NAS Kit for Raspberry Pi
15 stars 16 forks source link

error in utils.py #2

Closed notenoughtech closed 4 years ago

notenoughtech commented 4 years ago

Error on run:

python raspi_omv_main.py
Traceback (most recent call last):
  File "raspi_omv_main.py", line 10, in <module>
    from utils import *
  File "/home/pi/nas-kit/main/utils.py", line 79
    print(" - %s..." % (msg), end='\r')
notenoughtech commented 4 years ago

For anyone trying this its python3 and if you get any errors,
sudo raspi-config and enable SPI interface

Harguer commented 3 years ago

Another important thing if you it is raspberry pi4 (guess latest update of ths OS), the python script raspi_omv_main.py is poiting to wrong location, I did somethng like this: sudo sudo mkdir -p /opt/vc/bin/ sudo ln -s /usr/bin/vcgencmd /opt/vc/bin/vcgencmd