Open joCoutu opened 3 years ago
What dev dependency was it missing?
No module named 'tenacity'
How did you eventually solve this? @joCoutu
Facing same issue, I tried
RUN bash -c "poetry install --no-root"
but still getting the following error:
File "/app/app/backend_pre_start.py", line 3, in <module>
from tenacity import after_log, before_log, retry, stop_after_attempt, wait_fixed
ModuleNotFoundError: No module named 'tenacity'
I upgraded to Python 3.8 and it started working for me. Needed changes in /backend/backend.dockerfile
, /backend/celeryworker.dockerfile
and /backend/app/pyproject.toml
from 3.7 to 3.8
Can confirm @maneeshkm's fix worked for me
Fix solution:
Add code below in dockerFile. It works for me in Python3.8
ENTRYPOINT ["poetry", "run"]
Hello I'm new user.