Hi Giles, thanks for getting back to me.
I used the following to upgrade the modules:
pip3.6 install --upgrade google-api-python-client oauth2client
and the output I get is:
Traceback (most recent call last):
File "quickstart.py", line 3, in <module>
from googleapiclient.discovery import build
File "/home/aj020883/.local/lib/python3.6/site-packages/googleapiclient/discovery.py", line 32, in <module>
from six.moves import http_client
File "/home/aj020883/.local/lib/python3.6/site-packages/six.py", line 92, in __get__
result = self._resolve()
File "/home/aj020883/.local/lib/python3.6/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/home/aj020883/.local/lib/python3.6/site-packages/six.py", line 82, in _import_module
__import__(name)
File "/usr/lib/python3.6/http/client.py", line 71, in <module>
import email.parser
File "/usr/lib/python3.6/email/parser.py", line 12, in <module>
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.6/email/feedparser.py", line 27, in <module>
from email._policybase import compat32
File "/usr/lib/python3.6/email/_policybase.py", line 9, in <module>
from email.utils import _has_surrogates
File "/usr/lib/python3.6/email/utils.py", line 33, in <module>
from email._parseaddr import quote
File "/usr/lib/python3.6/email/_parseaddr.py", line 16, in <module>
import time, calendar
File "/home/aj020883/mealplanner/calendar.py", line 3, in <module>
from googleapiclient.discovery import build
ImportError: cannot import name 'build
any ideas where i am going wrong?
Cheers,
Adam