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

AttributeError in Docker image build #99

Open
aplaza1 opened this issue Aug 31, 2022 · 0 comments
Open

AttributeError in Docker image build #99

aplaza1 opened this issue Aug 31, 2022 · 0 comments

Comments

@aplaza1
Copy link

aplaza1 commented Aug 31, 2022

I tried to run to run and build and run the docker image, and then call the v1/apod endpoint and I get the following error:

AttributeError: apod/utility:module 'collections' has no attribute 'Callable'

Looks like the problem has to do with the version of python being used in the image: https://groups.google.com/g/rethinkdb/c/E6zG7EP_jEc

It worked after I changed the alpine image to use python 3.9. I recommend locking the alpine version in the Dockerfile instead of using the latest.

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

Successfully merging a pull request may close this issue.

1 participant