这个错误是因为你的Python环境中没有安装requests模块。你可以使用以下命令在命令行中安装requests模块:

pip install requests

如果你使用的是Python 3以上版本,则需要使用以下命令:

pip3 install requests

安装完成后,你就可以在Python中使用requests模块了。

Traceback most recent call last File C网络爬取py line 1 in module import requestsModuleNotFoundError No module named requests什么错误在哪里安装 具体怎么操作

原文地址: https://www.cveoy.top/t/topic/g64W 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录