No module named Trilobot

Is it exactly the error

ModuleNotFoundError: No module named ‘trilobot’

This would mean the library does not exist or not in the expected folder… this probably leads to a not propper installation in the right environment…
For the virtual environment, please see here, here and here

Basically, this is a four-step-process

  1. create virtual env (if not already existing)
  2. Activate virtual env for all further actions
  3. install again everything as above as regular (but this time in the activated env)
  4. Run programm (within the virtual env with all installations, libraries and dependancies…)

Which Raspberry Pi do you use for the trilobot and under which Raspberry Pi OS…?