jeremyephron / simplegmail

A simple Gmail API client for applications in Python
MIT License
336 stars 73 forks source link

issue about webbrowser #101

Open Ahmedk321 opened 11 months ago

Ahmedk321 commented 11 months ago

File "C:\Users\Madina\Desktop\multi-RL-Agent-Approach-api_mode\wob\miniwob\live_action.py", line 1401, in init gmail = Gmail() File "C:\Users\Madina\AppData\Local\Programs\Python\Python310\lib\site-packages\simplegmail\gmail.py", line 102, in init self.creds = tools.run_flow(flow, store, flags) File "C:\Users\Madina\AppData\Local\Programs\Python\Python310\lib\site-packages\oauth2client_helpers.py", line 133, in positional_wrapper return wrapped(*args, **kwargs) File "C:\Users\Madina\AppData\Local\Programs\Python\Python310\lib\site-packages\oauth2client\tools.py", line 223, in run_flow webbrowser.open(authorize_url, new=1, autoraise=True) AttributeError: module 'webbrowser' has no attribute 'open'

anyone knows how can be it solved?