**python报错:cannot import name ‘request‘**

python报错:cannot import name ‘request’
原因:可能是python版本不兼容,python3.x的代码在python2.x的环境下运行,由于后者缺少前者的一些模块
解决方法:卸载python2.x,安装python3.x运行环境,即可解决

猜你喜欢

转载自blog.csdn.net/weixin_43298513/article/details/119817985