python报错:AttributeError: module ‘requestes’ has no attribute ‘post’
问题描述:pycharm中查看已经安装了requests库,但是没有生效,查看windows path,确定python的安装路径,然后重新安装requests库,具体步骤如下
1.打开windows cmd ,然后输入path
2.修改对应python的环境变量
3.重新pip install requests
如图所示
python报错:AttributeError: module ‘requestes’ has no attribute ‘post’
问题描述:pycharm中查看已经安装了requests库,但是没有生效,查看windows path,确定python的安装路径,然后重新安装requests库,具体步骤如下
1.打开windows cmd ,然后输入path
2.修改对应python的环境变量
3.重新pip install requests
如图所示