直接显示 Segmentation fault (core dumped) 退出python3 解决方法是: sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.0 /lib/x86_64-linux-gnu/libudev.so.1