This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main | |
return _run_code(code, main_globals, None, | |
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code | |
exec(code, run_globals) | |
File "/home/erp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module> | |
main() | |
File "/home/erp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main | |
click.Group(commands=commands)(prog_name="bench") | |
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__ | |
return self.main(*args, **kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import glob | |
import json | |
import time | |
import os | |
import sys | |
from google.cloud import translate_v2 as translate | |
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = r'GCP.json' | |
translateClient = translate.Client() |