Closed Wolterhon closed 1 year ago
@Wolterhon does this comment from a similar issue help?
@Wolterhon does this comment from a similar issue help?
Yep, I had to install 'Microsoft Visual C++ Redistributable'. For some reason they're not a requirement in the readme.
Now I have this error: <HttpError 403 when requesting https://translation.googleapis.com/v3beta1/projects/hlepme:translateText?alt=json returned "Cloud IAM permission 'cloudtranslate.generalModels.predict' denied.". Details: "Cloud IAM permission 'cloudtranslate.generalModels.predict' denied. ">
I probably did something wrong so I'll try to troubleshoot it myself for now. I did add myself as a test user, but I did it a minute ago, I think I'll have to wait for it to update or something.
@Wolterhon it says permission denied
so it's probably to do with the google cloud account.
@Wolterhon it says
permission denied
so it's probably to do with the google cloud account.
Yeah, but what exactly? I am 100% sure I did everything right. I still have this error though.
@Wolterhon you could try looking at the second half of this stackoverflow answer.
@Wolterhon you could try looking at the second half of this stackoverflow answer.
I tried to troubleshoot all of this myself and I stumbled upon both this stackoverflow page and the issue from your comment above. For some reason I decided to skip them both cause surely it can't be the problem, right? 🤡 Again, for some reason the IAM & Admin is not in the readme / on the wiki of this repo, which is pretty strange. I had to add my other Google account (probably other is the key word) as a project owner, and then the problem disappeared. I thought that it'd be enough to add it as a tester to the OAuth thing. Now that I think about it I guess it's me with my two-account setup and not this project's wiki/readme. Finally I was able to run it and everything's just fine. Thank you so much for your help.
Good day. I get this when I try to run the script (I tried to follow all the requirements and instructions as close as possible). My Python version is 3.9 as the readme.md of this repo suggested.