Page 1 of 1

Errno100 Network is down Pican2 Python

Posted: Mon Feb 18, 2019 4:37 pm
by ferkus

I am trying to obtain data using the Pican2 on my raspberry however I obtain the following error:
OSError: [Errno 100] Network is down.
Anyone knows how to solve it?

I am using the following code

Code: Select all

import can
bus = can.interface.Bus(channel='can0', bustype='socketcan_native',bitrate=125000)
notifier = can.Notifier(bus, [can.Printer()])