os: CentOS 6.x /ubuntu 14.04/macos/windows
py: python3.x
This’s Notes for Python!
pip install --upgrade setuptools
# 安装beautifulsoup4
pip install beautifulsoup4
# 安装requests
pip install requests
# 安装pymssql
pip install pymssql
# 安装pymysql
pip install pymysql
# 安装oracle
pip install cx_oracle
# 安装rsa
pip install rsa
# execl
pip install openpyxl
# 模块openpyxl源于PHPExcel,它提供了针对.xlsx文件的读写功能
pip install xlsxwriter
# 模块也需要读取.xlsx文件
pip install xlrd
# 模块xlrd能用来析取.xls和.xlsx文件中的数据
# numpy matplotlib
pip install numpy Matplotlib
# pandas
pip install pandas
# opencv
pip install opencv-python
# 分词 结巴中文分词:https://github.com/fxsjy/jieba
pip install jieba
# 拼音 xpinyin :https://github.com/lxneng/xpinyin/
pip install xpinyin
# selenium
# chromedriver下载http://chromedriver.storage.googleapis.com/index.html
pip install selenium
# selenium可能会用到html5lib解析器
pip install html5lib
# opencv
brew install gtk+
brew install opencv3
# pynput 一个控制鼠标键盘的包
pip install pynput
# ichat 一个微信工具包
pip install itchat
# googletrans google翻译包
pip install googletrans