在WIN7使用sublime 编辑 requests 拉去中文网页时,常出现 UnicodeEncodeError: 'gbk' codec can't encode 这类问题。但在Linux或MACOS中执行则没有。解决方案一:WIN 中使用Pycharm 执行命令可以正常编码 方案二:使用jupyter notebook