centos 下安装 python 模块
2014-03-06 16:04
387 查看
(1)已安装pefile为例,在 https://code.google.com/p/pefile/ 处 下载tar.gz文件
(2)解压缩,tar -zxvf pefile-1.2.10-139.tar.gz
(3) cd pefile-1.2.1
python setup.py install
可能会出现
(2)解压缩,tar -zxvf pefile-1.2.10-139.tar.gz
(3) cd pefile-1.2.1
python setup.py install
可能会出现
error: Python.h: No such file or directory .... error: command 'gcc' failed with exit status 1 类似的错误,解决方法: yum install python-devel (4) python help() modules 查看已经安装的module,查看是否有pefile
相关文章推荐
- Linux-Centos7----安装Python的psutil模块插件
- centos5.8安装postgresql以及python模块psycopg2
- 【编程语言】Python Tkinter模块安装 CentOS 7 下
- CentOS 6.5升级Python版本、修复yum和安装模块
- centos 安装python PIL模块
- Centos 安装python PIL模块(实践)
- centos7 安装python3.6 及模块安装演示
- Centos 安装python MySQL 模块 -- MySQLdb
- centos 6.5 安装MySQL-python模块
- CentOS中redis以及python中redis模块的安装
- Linux-Centos7----安装Python的psutil模块插件
- CentOS 安装python MySQLdb模块
- 64位centos下安装python的PIL模块
- centos 安装python PIL模块
- centos 安装python PIL(Python Imaging Library)模块
- 64位centos下安装python的PIL模块
- Centos下安装python的MySQLdb模块若干错误总结
- centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' failed with exit status 1
- CentOS升级Python2.7导致使用pip等命令安装模块失败
- centos 6.5 安装MySQL-python模块