在cmd中输入 pip install requests
然后在pycharm中import requests 看是否报错
若不报错,安装成功
若报错,则在File/setting/python/Python Interpreter 的红框中搜索requests并安装