Posts: 3
Joined: Mon Feb 11, 2019 2:10 pm

Errno100 Network is down Pican2 Python

Mon Feb 18, 2019 4:37 pm


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()])

Return to “Interfacing (DSI, CSI, I2C, etc.)”