JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

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

发布时间 2023-03-22 22:58:42作者: 郭小睿

解决办法
在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

    本栏目推荐文章
  • MIUI EU ROM install and upgrade
  • 安装npm install报错npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/webpack-subresource-integrity failed, reason
  • "mysql : 无法将“mysql”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。"错误以及"Can't connect to MySQL server on 'localhost' (10061) after Installation"错误解决办法
  • RHCL8无法使用yum install的解决方法
  • npm install报错的解决方法
  • Python pip install修改默认下载路径
  • python报错:`visualize_sharding` requires `rich` to be installed.
  • INSTALL_FAILED_MISSING_SHARED_LIBRARY 报错如何解决
  • vue前端代码npm install报错的解决方法
  • Uninstall or delete MariaDB completely for re-installation
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们