首页 > 其他分享 >bug[已解决]:libgcc_s.so.1 must be installed for pthread_cancel to work

bug[已解决]:libgcc_s.so.1 must be installed for pthread_cancel to work

时间:2023-03-22 23:02:54浏览次数:44  
标签:work installed so.1 libgcc pthread cancel must

解决办法
在python文件最上面加

import ctypes
libgcc_s = ctypes.CDLL('libgcc_s.so.1')

注意,是最上面,也就是所有import之前

参考来源:
https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work

标签:work,installed,so.1,libgcc,pthread,cancel,must
From: https://www.cnblogs.com/guowenrui/p/17245811.html

相关文章