centos:

sudo yum install -y gdbm gdbm-devel

ubuntu:

sudo apt install libgdbm-dev

--------------------------------------

场景:

服务器上安装最新python3.6.5时,报错如下:

./Modules/_gdbmmodule.c:12:18: fatal error: gdbm.h: No such file or directory#include "gdbm.h"^
compilation terminated.
make: *** [Modules/_gdbmmodule.o] Error 1

安装对应包之后再重新运行

./configure && make && sudo make altinstall

就装好了,然后给pip换源、升级、install pipenv ipython white black 、配置vim等,又可以愉快地操作服务器了。

gdbm.h: No such file or directory相关推荐

  1. 【Qt】错误GL/gl.h: No such file or directory的解决方法(以及cannot find -lGL解决方法)

    1.问题描述 QtCreator第一次编译时,报错GL/gl.h: No such file or directory 错误信息如下: /home/Qt5.6.3/5.6.3/gcc_64/inclu ...

  2. 【linux】error: stdio.h: No such file or directory

    ubuntu 默认没有C和C++编译环境 ubuntu 默认没有C和C++编译环境,新装的ubuntu,使用gcc编译时,会报错,找不到某某头文件等.在编译一个demo,如hello world时,会 ...

  3. Python.h: No such file or directory

    安装python-devel包解决这个问题 # pip install netifaces     DEPRECATION: Python 2.6 is no longer supported by ...

  4. 报错解决:fatal error: json/json.h: No such file or directory

    晚上在做编译原理作业的时候遇到了报错: ASTNodes.h:6:23: fatal error: json/json.h: No such file or directory#include < ...

  5. fatal error: Python.h: No such file or directory 解决

    [常见错误] fatal error: Python.h: No such file or directory 环境场景 系统: Parrot Linux 软件: 系统python默认版本2.7 Py ...

  6. mysql-python 安装错误: Cannot open include file: 'config-win.h': No such file or directory

    问题描述: pip instal MySQL-Python 出现如下错误: [plain] view plain copy Installing collected packages: MySql-p ...

  7. Install matplotlib Error: src/ft2font.h:16:22: fatal error: ft2build.h: No such file or directory

    在ubuntu下从源码安装matplotlib的时候出现这样的错误: src/ft2font.h:16:22: fatal error: ft2build.h: No such file or dir ...

  8. linux 内核编译 错误 fatal error: linux/compiler-gcc6.h: No such file or directory

    在交叉编译i.MX6UL的Kernel代码时出现这个错误 CHK include/config/kernel.release  Using .. as source for kernel  GEN . ...

  9. cudnn.h: No such file or directory

    cudnn.h: No such file or directory cudnn 是单独的库,Windows需要安装下载,linux也需要. 比如路径: cudnn-10.0-windows10-x6 ...

最新文章

  1. 空缺十年,百度再任命CTO!加盟十年,王海峰现集AI大权为一身
  2. excel中match函数_Excel函数轻松学02:详解Excel函数中的数据类型
  3. java代码从编译到加载执行的过程
  4. 防止缓存爆炸的快速提示
  5. pycharm是不是python编程_使用PyCharm进行python开发的简介
  6. AngularJs通过路由传参解决多个页面资源浪费问题
  7. HTML5儿童玩具游戏商店网站模板
  8. CO2 convex sets
  9. 中国计量大学研究生复试c语言_中国计量大学2020考研招调剂生,25个专业
  10. web安全day4--DHCP部署与安全
  11. Nginx源码分析 - 主流程篇 - 多进程的惊群和进程负载均衡处理(15)
  12. BigDecimal浮点精度加减乘除运算
  13. java加密不可逆,32位不可逆加密算法Java实现
  14. Proxyee-down – 百度网盘全平台满速下载神器,还带有IDM的全网嗅探功能
  15. google账号如何正确登陆
  16. 【荣耀内推】2023届荣耀校招开启啦
  17. 音频处理工具SOX详解
  18. [GIS原理] 8.2 空间分析-邻近度分析-Delaunay三角网(德劳内)/泰森多边形(Thiessen多边形)/冯洛诺伊图(Voronoi图)
  19. Python实现EM
  20. 微服务容器化运维:微博容器运维平台DCP

热门文章

  1. html将字符串转为数值,JavaScript字符串转数字的5种方法及其陷阱
  2. children与childNodes的区别
  3. YOLOv5-6.x源码分析(八)---- loss.py
  4. Python基础之day02-if判断与while,for循环
  5. 安全终端模拟软件推荐
  6. 实例分析join、left join、right join、fulljoin间的区别
  7. 2007全国税务信息化成果与技术交流论坛发言(速记)
  8. 【Windows】mklink命令
  9. 【uniapp】Vant组件旋转Icon图标
  10. matlab 降维工具箱mle,Matlab数据降维工具箱