I am working on getting a python GUI to load during startup and python-can fails to load with this error.
raise ImportError("CAN interface not found")
After it fails and I am in userspace (as root) I run the same script and it runs without issue. My only guess is that it cannot load the required "can.config" file because it is not running as the root user yet.
Is is possible to fix this in the script or avoid the "can.config" file and just hardcode the interface information?