-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountered an error on Python 3.9 - AttributeError: module 'base64' has no attribute 'decodestring' #1118
Comments
If anyone is encountering the same issue with app center, I managed to find a temporary fix by doing However, it still doesn't fix the problem with running gsutil on python 3.9. |
|
I tried this, and it
if you have 3.8 installed on your system. |
I have added this code inside ~/.zshrc file on my Mac. |
This issue has been fixed in gsutil v4.55 which was released with Cloud SDK 319.0.0. Feel free to open it again if the issue persists. |
I just ran into a similar issue with gsutil v4.57 from the AUR: https://aur.archlinux.org/packages/google-cloud-sdk Only this time, it's If it matters, I have |
just encountered |
This was also reported here #1284. Reopening this one. |
@ayy-em , decodestring function call has been already replaced with b64decode gsutil/gslib/utils/encryption_helper.py Line 152 in eadfefb
Can you please check your gsutil version by running |
Microsoft's app center has recently updated to Python 3.9, and I encountered the follow error when running gsutil on it:
This error is triggered with
gsutil -o Credentials:gs_service_key_file=./mykey.json cp src_url dist_url
command.Any thoughts on how to get this command work on Python 3.9? Thank you.
The text was updated successfully, but these errors were encountered: