how to use CAN interface with dietpi

ive used raspbian and could recieve can messages with the following setup (the python installation doesnt matter for my question) this works fine on raspbian, however when i try this with dietPI i’m not able to recieve any messages. Any help?

Please try it the following way:

  • Install Python3 pip via dietpi-software install 130
  • Then install can via: pip3 install -U python-can

dtoverlay=spi-bcm2835-overlay that line has no effect as that overlay does not exist (anymore). Not sure what it was required for, probably there is a more recent guide than this >5 years old one?