You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just pip installed cromshell (python 3.11), and ran into the following error
Traceback (most recent call last):
File "/usr/local/bin/cromshell", line 5, in <module>
from cromshell.__main__ import main_entry
File "/usr/local/lib/python3.11/site-packages/cromshell/__main__.py", line 15, in <module>
from .logs import command as logs
File "/usr/local/lib/python3.11/site-packages/cromshell/logs/command.py", line 5, in <module>
import gcsfs
File "/usr/local/lib/python3.11/site-packages/gcsfs/__init__.py", line 5, in <module>
from .core import GCSFileSystem
File "/usr/local/lib/python3.11/site-packages/gcsfs/core.py", line 26, in <module>
from .credentials import GoogleCredentials
File "/usr/local/lib/python3.11/site-packages/gcsfs/credentials.py", line 17, in <module>
from google_auth_oauthlib.flow import InstalledAppFlow
File "/usr/local/lib/python3.11/site-packages/google_auth_oauthlib/__init__.py", line 21, in <module>
from .interactive import get_user_credentials
File "/usr/local/lib/python3.11/site-packages/google_auth_oauthlib/interactive.py", line 27, in <module>
import google_auth_oauthlib.flow
File "/usr/local/lib/python3.11/site-packages/google_auth_oauthlib/flow.py", line 68, in <module>
import google_auth_oauthlib.helpers
File "/usr/local/lib/python3.11/site-packages/google_auth_oauthlib/helpers.py", line 27, in <module>
from google.auth import external_account_authorized_user
ImportError: cannot import name 'external_account_authorized_user' from 'google.auth' (/Users/shuang/Library/Python/3.11/lib/python/site-packages/google/auth/__init__.py)
I just pip installed cromshell (python 3.11), and ran into the following error
The following suggests upgrading might solve the problem (and it did)
https://stackoverflow.com/questions/74189694/cannot-import-name-external-account-authorized-user-from-google-auth
In addition, I don't see
google_auth_oauthlib
listed as a dependency inrequirements.txt
.The text was updated successfully, but these errors were encountered: