为什么执行session.get('http://127.0.0.1',cookies = session.cookies)总报错

session = requests.session()
    session.cookies = requests.utils.cookiejar_from_dict(dict)

    try:
        session.get('http://127.0.0.1',cookies = session.cookies)
        if requests.status_codes == 200:
            print('load cookie success')
            time.sleep(2)

要回复问题请先登录注册