View: 826|Reply: 1

Alter.All-in-One webServer.py not starting

[Copy link]

1

Threads

10

Posts

92

Credits

Registered member

Rank: 2

Credits
92
Post time 2021-11-17 10:05:40 | Show all posts |Read mode
Edited by 1635212142 at 2021-11-17 10:30 AM

I have the Alter.All-in-One built up in the race car configuration with a raspberry pi 4 installed.
All the conponents are working, they were tested with the code provided and everything is working.
Trying the killall command show no Python3 programs running
Using the sudo python3 adeept_alter/server/webServer.py gives me this error

Traceback (most recent call last):
  File "webServer.py", line 19, in <module>
    import app
  File "/home/pi/adeept_alter/server/app.py", line 8, in <module>
    from camera_opencv import Camera
  File "/home/pi/adeept_alter/server/camera_opencv.py", line 6, in <module>
    import alterMove
  File "/home/pi/adeept_alter/server/alterMove.py", line 7, in <module>
    import oledCtrl
  File "/home/pi/adeept_alter/server/oledCtrl.py", line 23, in <module>
    disp = Adafruit_SSD1306.SSD1306_128_64(rst=RST)
  File "/usr/local/lib/python3.7/dist-packages/Adafruit_SSD1306/SSD1306.py", line 243, in __init__
    gpio, spi, i2c_bus, i2c_address, i2c)
  File "/usr/local/lib/python3.7/dist-packages/Adafruit_SSD1306/SSD1306.py", line 85, in __init__
    self._gpio = GPIO.get_platform_gpio()
  File "/usr/local/lib/python3.7/dist-packages/Adafruit_GPIO/GPIO.py", line 420, in get_platform_gpio
    import Adafruit_BBIO.GPIO
ModuleNotFoundError: No module named 'Adafruit_BBIO'

Please help!


Reply

Use magic Report

1

Threads

10

Posts

92

Credits

Registered member

Rank: 2

Credits
92
 Author| Post time 2021-12-2 05:58:14 | Show all posts
I was finally able to get mine to work by uninstalling the python rpi-ws281x library and reinstalling it.
Now I have to try building it up in the other configurations
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules