Python examples for use with PiCAN2, PiCAN-M and PiCAN3 board. https://www.skpang.co.uk/collections/hats/products/pican2-can-bus-board-for-raspberry-pi-2-3 https://www.skpang.co.uk/collections/hats/products/pican3-can-bus-board-for-raspberry-pi-4-with-3a-smps-rtc https://www.skpang.co.uk/collections/hats/products/pican-m-with-can-bus-micro-c-and-rs422-connector-3a-smps
Make sure Python-CAN is installed first. Follow these instructions: https://www.skpang.co.uk/pages/install
Then install python-can: https://www.skpang.co.uk/pages/installing-python-can-for-raspberry-pi