GraXpert icon indicating copy to clipboard operation
GraXpert copied to clipboard

source build fails: No module named 'graxpert.s3_secrets'

Open stevelcb opened this issue 8 months ago • 1 comments

Hi Ubuntu 22.04

I built GraXpert but get the above following error. Here's the output from within the env:


(graxpert-env) steve@cocina:~/GraXpert$ python -m graxpert.main
ERROR:root:No module named 'graxpert.s3_secrets'
Traceback (most recent call last):
  File "/home/steve/GraXpert/graxpert/ai_model_handling.py", line 13, in <module>
    from graxpert.s3_secrets import endpoint, ro_access_key, ro_secret_key
ModuleNotFoundError: No module named 'graxpert.s3_secrets'
Traceback (most recent call last):
  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/steve/GraXpert/graxpert/main.py", line 20, in <module>
    from graxpert.s3_secrets import bge_bucket_name, denoise_bucket_name
ModuleNotFoundError: No module named 'graxpert.s3_secrets'
(graxpert-env) steve@cocina:~/GraXpert$ 

Any ideas? TIA

stevelcb avatar Jun 13 '24 06:06 stevelcb