This error message suggests that the get method is not available in the sessions module of the requests library.

To fix this issue, you can try importing the get method from the requests module instead. Here's an example:

from requests import get

response = get('https://www.example.com')

In this example, we are importing the get method directly from the requests module, which should resolve the AttributeError you encountered.

module requestssessions has no attribute get

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

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