最近使用gdb,一直报错:

Failed to import the site module
Traceback (most recent call last):
  File "/usr/lib/python3.5/site.py", line 580, in <module>
    main()
  File "/usr/lib/python3.5/site.py", line 566, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python3.5/site.py", line 287, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python3.5/site.py", line 263, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python3.5/site.py", line 253, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python3.5/sysconfig.py", line 595, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python3.5/sysconfig.py", line 538, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python3.5/sysconfig.py", line 410, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python3.5/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_m import *
ImportError: No module named '_sysconfigdata_m'

吾只搜索了开始的,说是跟python有关.后来同事搜索了最后一句错误,找到了解决办法:

# cd /usr/lib/python3.4# ln  -s /usr/lib/python3.4/plat-i386-linux-gnu/_sysconfigdata_m.py .

解决gdb报错:Failed to import the site module,No module named '_sysconfigdata_m'相关推荐

  1. 【Debugger】解决springboot报错Failed to resolve org.junit.platform:junit-platform-launcher:1.x.x的两种解决方案

    [Debugger]解决springboot报错Failed to resolve org.junit.platform:junit-platform-launcher:1.x.x的两种解决方案 主要 ...

  2. (详细)解决hive报错FAILED: SemanticException Cartesian products are disabled for safety的问题

    在使用hive-2.3.3执行TPC-H benchmark时,遇到hive报错.而且这个错误不是以Java异常栈的形式跑出的,很可能被忽略: FAILED: SemanticException Ca ...

  3. 解决filebeat 报错 Failed to publish events

    报错日志 filebeat | 2021-12-27T17:12:03.469+0800 ERROR logstash/async.go:256 Failed to publish events ca ...

  4. 解决 github 报错 Failed to connect to github.com port 443:connection timed out

    一.前言 你在使用github的时候,是不是会经常出现Failed to connect to github.com port 443:connection timed out报错,这是什么原因造成的 ...

  5. 【ArcGIS错误集锦002-Server02】ArcGISserver发布站点报错Failed to create the site. Could not create directory path

    Failed to create the site. Could not create directory path '\10.4.1.6\Arcgisserverdir\config-store'. ...

  6. 解决hive报错FAILED: SemanticException Cartesian products are disabled for safety的问题

    1.先看问题: FAILED: SemanticException Cartesian products are disabled for safety reasons. If you know wh ...

  7. 解决IntelliJ IDEA报错Failed to read candidate component class: file [ ]; nested exception is org.

    解决IntelliJ IDEA报错Failed to read candidate component class: file [ ]; nested exception is org.springf ...

  8. 解决 Qt5 报错 This application failed to start because it could not find or load the Qt platform plugin

    解决 Qt5 报错 This application failed to start because it could not find or load the Qt platform plugin ...

  9. mycat重启报错Failed to connect to the Wrapper at port解决方法

    mycat重启报错Failed to connect to the Wrapper at port解决方法 参考文章: (1)mycat重启报错Failed to connect to the Wra ...

  10. git 解决push报错:[rejected] master -> master (fetch first) error: failed to push some refs to

    git 解决push报错:[rejected] master -> master (fetch first) error: failed to push some refs to </h1 ...

最新文章

  1. “波士顿动力机器人”离上战场又近了一步,逆天了!
  2. 一个超牛的东东:专门删除牛皮文件和文件夹
  3. pemicro识别不了驱动_usb驱动无法识别如何解决,手把手教你如何解决usb驱动问题...
  4. 干货,springboot自定义注解实现分布式锁详解
  5. Eclipse配置的tomcat用debug模式启动不了start可以启动
  6. 3.2 使用pytorch搭建AlexNet并训练花分类数据集
  7. html - meta name=viewport content=XX/ 标签常见属性及说明
  8. 项目属性--生成事件--后期生成事件命令行
  9. 人口吸引力超宁波、南京,这座背靠上海的小城开挂了?
  10. 微软拿下美国国防部100亿美元云合同,亚马逊不干了...
  11. jQuery如何退出each循环的?
  12. Java JDK下载与安装教程
  13. 谐振放大器工作点和阻抗
  14. 【xsy1061】排列 树状数组
  15. 重庆大学计算机学院研究生奖学金评定准则,重庆大学经管学硕士生奖学金评定办法(试行).doc...
  16. 开源帮助:什么是退出代码 137,你能修复它吗?
  17. OFF文件格式_拔剑-浆糊的传说_新浪博客
  18. 计算机网络的地址三类,计算机网络中有几种地址格式
  19. VS2010 C++ 操作Excel表格的编程实现(OLE/COM)
  20. Solidity入门-开发众筹智能合约

热门文章

  1. mysql 查询正在运行的事务并且杀掉该事务
  2. Hibernate与mybatis比较
  3. Mybatis 项目开发实际常用SQL笔记总结
  4. 微软公有云事件中心(Azure Event Hubs)在开放物联网大会(OIOT)啼声初试
  5. pure-ftpd 配置
  6. vue运行报错:Cannot find module 'webpack/bin/config-yargs'
  7. java安装path_JDK安装时设置PATH和CLASSPATH环境变量有何作用?
  8. tp5.0 根据经纬度 获取附近信息_Redis怎么实现查找附近的人之数据类型Geospatial...
  9. 关于EasyUI中DataGrid控件的一些使用方法总结
  10. oj交java代码_UvaOJ java输入代码