Skip to content

Errors #195

Description

@Harshavardhana505

Expected Behavior

Send email

Actual Behavior

Errors given by terminal:
python email.py
Traceback (most recent call last):
File "/home//email.py", line 18, in
from googleapiclient.discovery import build
File "/home//.local/lib/python3.9/site-packages/googleapiclient/discovery.py", line 32, in
from six.moves import http_client
File "/usr/lib/python3.9/site-packages/six.py", line 92, in get
result = self._resolve()
File "/usr/lib/python3.9/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3.9/site-packages/six.py", line 82, in _import_module
import(name)
File "/usr/lib64/python3.9/http/client.py", line 71, in
import email.parser
File "/home/harshavardhana/email.py", line 18, in
from googleapiclient.discovery import build
ImportError: cannot import name 'build' from partially initialized module 'googleapiclient.discovery' (most likely due to a circular import) (/home//.local/lib/python3.9/site-packages/googleapiclient/discovery.py)

Specifications

  • Python version (python --version)
  • OS (Linux)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions