原因没有安装requests模块,

可以切换到python的安装目录找到 script文件夹 example:

windows下 python中报错ImportError: No module named

进入cmd窗口切换到上面的目录直接运营下面两个命令中的一个

1. > Path\pip install requests

2. > Path\easy_install.exe requests



非学,无以致疑;非问,无以广识