Thanks for the feedback @alphanumeric .
The curl https://get.pimoroni.com/plasma | bash
command generates the following folder structure Pimorono/plasma/plasma
which contains:
pi@picade:~ $ ls -l Pimoroni/plasma/plasma/*
-rw-r--r-- 1 pi pi 2868 Jun 22 15:34 Pimoroni/plasma/plasma/README.md
Pimoroni/plasma/plasma/boards:
total 24
-rw-r--r-- 1 pi pi 1660 Jun 22 15:34 common.cmake
-rw-r--r-- 1 pi pi 123 Jun 22 15:34 manifest-common.py
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 plasma_2040
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 plasma_2350_w
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 plasma_stick_2040_w
-rw-r--r-- 1 pi pi 1505 Jun 22 15:34 usermod-common.cmake
Pimoroni/plasma/plasma/ci:
total 12
-rw-r--r-- 1 pi pi 4517 Jun 22 15:34 micropython.sh
-rw-r--r-- 1 pi pi 1128 Jun 22 15:34 python.sh
Pimoroni/plasma/plasma/docs:
total 8
-rw-r--r-- 1 pi pi 6606 Jun 22 15:34 plasma.md
Pimoroni/plasma/plasma/examples:
total 24
-rw-r--r-- 1 pi pi 2662 Jun 22 15:34 hue_twinkles_encoder.py
-rw-r--r-- 1 pi pi 2795 Jun 22 15:34 main.py
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 plasma2040
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 plasma_stick
-rw-r--r-- 1 pi pi 34 Jun 22 15:34 secrets.py
-rw-r--r-- 1 pi pi 2008 Jun 22 15:34 sparkles.py
Pimoroni/plasma/plasma/modules:
total 8
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 common
drwxr-xr-x 2 pi pi 4096 Jun 22 15:34 wireless
pi@picade:~ $
There is no install.sh
anywhere in it:
pi@picade:~ $ find Pimoroni/plasma/plasma/ -name install.sh
pi@picade:~ $
I can’t execute anything the main command is not found.
pi@picade:~ $ plasmactl --list
-bash: plasmactl: command not found
For additional info i also tried the manual install
pi@picade:~ $ sudo pip3 install plasmalights
sudo: pip3: command not found
So i did the following:
pi@picade:~ $ sudo apt install python3-pip
Then
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
Then
sudo pip3 install plasmalights
Same result… nothing works.
And trying to run from the examples:
pi@picade:~/plasma/examples $ python ./main.py
I had first to install the python modules urequests
and ezwifi
but still no success:
pi@picade:~/plasma/examples $ python ./main.py
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/comtypes/__init__.py", line 5, in <module>
from _ctypes import COMError # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'COMError' from '_ctypes' (/usr/lib/python3.11/lib-dynload/_ctypes.cpython-311-aarch64-linux-gnu.so)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pi/plasma/examples/./main.py", line 4, in <module>
from ezwifi import connect
File "/usr/local/lib/python3.11/dist-packages/ezwifi.py", line 3, in <module>
from ezwlan.ezwlan import *
File "/usr/local/lib/python3.11/dist-packages/ezwlan/ezwlan.py", line 1, in <module>
from ezwlan.wlanapi import *
File "/usr/local/lib/python3.11/dist-packages/ezwlan/wlanapi.py", line 3, in <module>
from win32wifi.Win32NativeWifiApi import *
File "/usr/local/lib/python3.11/dist-packages/win32wifi/Win32NativeWifiApi.py", line 26, in <module>
from comtypes import GUID
File "/usr/local/lib/python3.11/dist-packages/comtypes/__init__.py", line 15, in <module>
raise ImportError(msg) from e
ImportError: COM technology not available (maybe it's the wrong platform).
Note that COM is only supported on Windows.
For more details, please check: https://learn.microsoft.com/en-us/windows/win32/com
pi@picade:~/plasma/examples $