Я бы хотел получить доступ к API Календаря Google с помощью Python, здесь я следовал официальному руководству: https://developers.google.com/calendar/quickstart/python
Однако почему-то я просто продолжал получать эту ошибку:
Traceback (most recent call last):
File "quickstart.py", line 72, in <module>
main()
File "quickstart.py", line 55, in main
service = build('calendar', 'v3', credentials=creds)
File "/Library/Python/2.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Library/Python/2.7/site-packages/googleapiclient/discovery.py", line 223, in build
requested_url, discovery_http, cache_discovery, cache, developerKey)
File "/Library/Python/2.7/site-packages/googleapiclient/discovery.py", line 273, in _retrieve_discovery_doc
resp, content = http.request(actual_url)
File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 2135, in request
cachekey,
File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1796, in _request
conn, request_uri, method, body, headers
File "/Library/Python/2.7/site-packages/httplib2/__init__.py", line 1737, in _conn_request
response = conn.getresponse()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1119, in getresponse
raise ResponseNotReady()
httplib.ResponseNotReady
Я сделал что-то не так с этим? Или это как-то связано с прокси?