Hi all
I’ve just bought a Trilobot to play around with, I’m completely new to all of this so its been a bit of steep learning curve.
Initially after following the instructions for the Trilobot and probably ignoring a number of error messages I tried to run some of the python examples that come ready made for the trilobot. I was getting an error saying “ModuleNotFoundError: no module named ‘trilobot’”.
After being pointed back to the installation process to check for errors I notice the first one to come up was that when running the install of the trilobot-python library I’m getting the following error:
E: Unable to locate package python-configparser
I believe this to be my issue in then not being able to run any of the examples as there must be a library it can’t install.
Any thoughts?
Thanks, Jopp
Hi Jopp,
I have the same problem with the missing python-configparser. Please let me know if you find a solution.
Thanks, Jerry
Hi all,
I faced exactly the same issue today. And tried to reinstall with | bash.
But it didn’t help. Any idea how to overcome this challenge?
Many thanks for any response
I also have this “ModuleNotFoundError: no module named ‘trilobot’”.
I am new to python and I am trying to get the trilobot to work.
I have tried pulling the trilobot apart and putting it back together (no loose connections). Tried reflashing the SD. Reinstalling the examples. I have activated the I2C.
None of this worked! Does anyone have any advice?
Many thanks, Henry
Hello,
I found a work around. I reflashed the SD back to Debian Bullseye and when I tried to run the examples it came up with a slightly different error message making it clear SN3218 was the problem.
I used:
git clone GitHub - pimoroni/sn3218-python: Python library for the sn3218 18-channel constant current LED driver
cd sn3218-python
./install.sh --unstable
As outlined here:
And it worked. I am new to all this and have a limited understanding but I assume SN3218 was the problem and the above repaired the file.
That’s good to know, i tried to reflash the SD card as you described above and also tried sudo update and sudo upgrade. In the end I had a go at installing python 3 instead using the command “pip3 install trilobot”. it wouldn’t let me do this through this command and had to include the “break-system-packages” I ended up running into a number of things that were not present and had to install them manually. Eventually I got to the point of getting a script running but lost the UI.
I’ve been meaning to have another go but have been busy.