AttributeError: module ‘requests’ has no attribute ‘Session’

398 views
Skip to first unread message

Sid B

unread,
May 15, 2017, 6:03:42 PM5/15/17
to PythonForFacebook
I am getting the below error after installling the facebook sdk and running the program Traceback (most recent call last): File “C:/Users/xxx/PycharmProjects/facebook-sdk/likefbpages.py”, line 11, in graph = facebook.GraphAPI(usertoken) File “C:\Users\xxx\PycharmProjects\facebook-sdk\facebook\__init__.py”, line 88, in init self.session = session or requests.Session() AttributeError: module ‘requests’ has no attribute ‘Session’
Reply all
Reply to author
Forward
0 new messages