1.PIL模块安装php
选择PILhtml
官方没有支持python3.6的PIL库,因此用pillow代替python
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pillowwindows
连接:https://pan.baidu.com/s/1kW3BuzP 密码:4o66code
windows 64位 python36:选择Pillow?4.2.0?cp36?cp36m?win_amd64.whl下载,保存在Scripts文件夹下htm
而后在~\Python36\Scripts目录下按Shift+鼠标右键,选择【在此处打开命令窗口】输入命令:blog
先升级pipip
python -m pip install --upgrade pip
安装PIL模块ci
pip install Pillow-4.1.0-cp36-cp36m-win64.whl
pillow配置完成后能够导入pillow模块使用pip
import Image, ImageFilter, ImageDraw, ImageFont, ImageEnhance, ImageFilter
高级用法:https://www.cnblogs.com/jeffkuang/articles/4859158.html
2.百度aip模块安装
pip install baidu_aip
3.安装colorama模块
pip install colorama
简单使用:https://www.cnblogs.com/xieshengsen/p/6932233.html