Whenever I try to run my code I get this error:
-packages/replit/database/database.py", line 420, in init
self.sess = requests.Session()
AttributeError: module ‘requests’ has no attribute ‘Session’
I’m not sure what to do, is this an issue on my end?
Welcome to the community! Please include a code snippet or the link to your Repl so that we can try to determine the issue.
1 Like
To me, it looks like you changed the requests package in someway, try running pip install --upgrade requests
in shell
2 Likes