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

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

Open
stevelcb opened this issue Jun 13, 2024 · 1 comment
Open

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

stevelcb opened this issue Jun 13, 2024 · 1 comment

Comments

@stevelcb
Copy link

stevelcb commented Jun 13, 2024

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

@schmelly
Copy link
Collaborator

Hi Steve,

we do not push that file to git to reduce the likelyhood of automated attacks against our object storage that holds the ml models (crawlers will find those). Please contact us on Discord where I can provide that file to you (support channel in the GRAXPERT & CO tree): https://discord.gg/darkmatters

CS, David

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

2 participants