Google API authorization with Python

Need help me with an example of Google Drive API or Search Console API (or other Google API) authorization?
I use https://replit.com/ for python script and created “service_account.json” for authorization

Code:
from google.oauth2 import service_account
from googleapiclient.discovery import build
scopes = [‘https://www.googleapis.com/auth/drive’]
creds_file = ‘service_credentials.json’
creds = service_account.Credentials.from_service_account_file(creds_file, scopes=scopes)
drive_service = build(‘drive’, ‘v3’, credentials=creds)

Error:
Traceback (most recent call last):
File “main.py”, line 1, in
from google.oauth2 import service_account
File “/home/runner/MyScript/venv/lib/python3.10/site-packages/google/oauth2/service_account.py”, line 2, in
from google.oauth2.service_account import Credentials
ImportError: cannot import name ‘Credentials’ from partially initialized module ‘google.oauth2.service_account’ (most likely due to a circular import) (/home/runner/MyScript/venv/lib/python3.10/site-packages/google/oauth2/service_account.py)

any working examples?
or maybe other authorization process I should use