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

Issues with Guardrails Installation and Docker Image Rebuilding #25

Open
maryam123errami opened this issue Oct 11, 2024 · 0 comments
Open

Comments

@maryam123errami
Copy link

I am encountering a problem with the installation of guardrails hub install hub://guardrails/toxic_language in my Dockerfile. Additionally, when I try to open and modify the settings.py file inside the Docker container to fix the following error:
ImportError: cannot import name 'settings' from partially initialized module 'guardrails.settings' (most likely due to a circular import) (/opt/venv/lib/python3.12/site-packages/guardrails/settings.py)
image
image
After modifying the code within the container, I exit and rebuild the Docker image, but I still get the same error. It seems that the changes I made inside the container are not being applied when I rebuild the image.

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

1 participant