Skip to content
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

Anyone knows whats the error: No module Named as "aws_google_auth" it is underscore? not aws-google-auth #263

Open
Renjie-d1g1t opened this issue Jun 29, 2022 · 4 comments

Comments

@Renjie-d1g1t
Copy link

image

@Renjie-d1g1t
Copy link
Author

So whats the aws_google_auth in the aws-google-auth? This error is so weird for me

@michael-oleary
Copy link

The main repository is aws-google-auth, and the module in that is aws_google_auth, I assume it's looking for that on the import.

See: https://github.com/cevoaustralia/aws-google-auth/tree/master/aws_google_auth

@Renjie-d1g1t Do you have any steps to recreate this? Happy to jump on a call to see what is going on.

@Renjie-d1g1t
Copy link
Author

@michael-oleary Thanks for the information! So I was helping one of my teammates to install aws-google-auth on her computer by using "pip install aws-google-auth". But it keeps giving me error "aws-google-auth - not found" after it get installed. So when I was investigating, I found the pip install method is actually installing packages to somewhere else instead of normal python folder. So I tried to manually move the whole package folder then tried to use aws-google-auth, that's how I got this error. I assume there is something missing for the installing process, simply moving the file does not work.

@kriation
Copy link
Contributor

@Renjie-d1g1t, I successfully tested aws-google-auth on Windows using the following:

Note: I installed Python to c:\python310 using Chocolatey

  1. From within c:\Python310, execute: .\python.exe -m pip install aws-google-auth which will install aws-google-auth and its required dependencies
  2. Run aws-google-auth using: c:\python310\scripts\aws-google-auth.exe

For more guidance on how to manage stand alone command line Python tools, take a look at the public Python documentation: https://packaging.python.org/en/latest/guides/installing-stand-alone-command-line-tools/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants