Mac中python安装模块
来源:互联网 发布:windows安装python3 编辑:程序博客网 时间:2024/06/06 15:49
读取Python安装路径:
which Python
安装模块管理工具pip,使用pip 安装发现报错,建议用sudo easy_install !!!
$sudo easy_install pip
安装xlrd,对excle进行读的操作;xlwt,对excle进行写的操作;
xlutils对excle进行追加写入操作;
$sudo easy_install xlrd$sudo easy_install xlwt$sudo easy_install xlutils
用pip管理模块,查看:
$pip listxlrd (1.0.0)xlutils (2.0.0)xlwt (1.2.0)
验证是否安装成功,引入模块。打开PythonIDLE
$ pythonPython 2.7.10 (default, Feb 6 2017, 23:53:20) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwinType "help", "copyright", "credits" or "license" for more information.>>> import xlrd>>> import xlwt>>> import xlutils>>>
0 0
- Mac中python安装模块
- Mac python testlink模块安装
- Python中安装模块
- Mac 下如何安装Python模块
- MAC OSX使用Python安装模块问题
- mac os下Python模块安装错误
- mac下python安装MySQLdb模块
- Mac os Python 安装 chardet模块
- Mac osx 使用Python 安装MySQLdb模块
- Mac 安装python的mysqldb模块
- Mac系统安装python的feedparser模块
- Python中安装xlrd模块
- Python中安装Tkinter模块
- Python中安装xlrd模块
- mac os x 安装 python MySQLdb 模块 记录
- mac os x下python安装MySQLdb模块
- mac os x下python安装MySQLdb模块
- 在mac上安装Python下的模块管理工具pip
- 使用HorizontalScrollView实现侧滑ListView
- NKOJ-4052 糖果盒
- 你凭什么看不起微商?
- 已解决[Authentication failed for token submission,Illegal hexadecimal charcter s at index 1]
- Cmake 编译配置失败
- Mac中python安装模块
- spark SQL实例(load和save操作)
- the Root Of AVL
- I春秋360_Reverse_登山_Writeup
- javascript --- 使用btoa和atob来进行Base64转码和解码
- 实现读写分离的web工程
- 【Java】IO进程
- JSP自定义标签由浅到深详细讲解(全)
- 在eclipse中用Maven搭建Web项目