Traceback (most recent call last):


 "c:\users\nissan\anaconda3\lib\site-packages\PyInstaller\utils\hooks\subproc\django_import_finder.py", line 37, in <module>

list(settings.TEMPLATE_LOADERS) + \


 "c:\users\nissan\anaconda3\lib\site-packages\django\conf\__init__.py", line 58, in __getattr__

val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'TEMPLATE_CONTEXT_PROCESSORS'

Traceback (most recent call last):


 "script.py", line 48, in <module>

main()


 "script.py", line 29, in main

creds = flow.run_local_server(port=8088)


 "/Users/stasdeep/.virtualenvs/gmail/lib/python3.6/site-packages/google_auth_oauthlib/flow.py", line 418, in run_local_server

authorization_response = wsgi_app.last_request_uri.replace(
AttributeError: 'NoneType' object has no attribute 'replace'
