ubuntu install Python psutil模块报错
来源:互联网 发布:linux ftp上传文件夹 编辑:程序博客网 时间:2024/06/10 16:06
ubuntu install Python psutil模块报错如下: x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=520 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
解决方法:
For Python version 2.x+ apt-get install python-dev
For Python version 3.x+ apt-get install python3-dev
0 0
- ubuntu install Python psutil模块报错
- 安装python模块psutil
- 【python】psutil模块
- python之psutil模块
- python psutil模块
- psutil--python模块
- python --psutil模块
- Python 安装 psutil模块
- python下安装模块报错:psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
- python系统信息模块psutil
- python psutil模块用法学习
- python--psutil系统信息模块
- Python模块psutil的简介
- python笔记之psutil模块
- Python模块学习——psutil模块
- 安装psutil报错问题
- python 进程cpu操作psutil模块
- [Python监控]psutil模块简单使用
- centos7永久修改主机名
- 一步步手动构建小于10M的类嵌入式Linux系统
- Ext Controller与ViewController的区别详解
- maven插件mybatis-generator生成代码配置
- linux服务器硬件资源指标、jvm监控 、存储数据库、redis监控
- ubuntu install Python psutil模块报错
- learning of zabbix 3.2.3
- httpd 2.4.4 + mysql-5.5.28 + php-5.4.13编译安装
- 微软官方的SQLHelper类(含完整中文注释)
- 使用python编写udp协议的ping程序
- 线程相关
- Swift for循环
- Java实例-for循环打印各种图形
- 慕课网Linux 达人养成计划 I 学习笔记(二)