windows下 python中报错ImportError: No module named 'requests'

原因没有安装requests模块,
可以切换到python的安装目录找到 script文件夹 example:
这里写图片描述
进入cmd窗口切换到上面的目录直接运营下面两个命令中的一个
1. > Path\pip install requests
2. > Path\easy_install.exe requests
详细参考:https://stackoverflow.com/questions/17309288/importerror-no-module-named-requests --------------------- 本文来自 superyzh 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/superyzh/article/details/79389622?utm_source=copy

猜你喜欢

转载自www.cnblogs.com/lxwphp/p/9721350.html
今日推荐