admin管理员组文章数量:1396787
While trying to deploy successfully, i am hitting hurdles one after another. By now, i know that deploying "stable" version is correct, not "main" for production.
Repo : .git
In the dockerfile the first line is
FROM python:3.11-slim
but the control is going thru python 3.12 as the error shows.
Error:
File "/tmp/pip-build-env-wlebbpoz/overlay/lib/python3.12/site-packages/setuptools/init.py", line 10, in import distutils.core ModuleNotFoundError: No module named 'distutils'
I tweaked dockerfile and requirements.txt, as it was initially giving error for lxml version. That is resolved.
There is a discrepancy between the Docker image and the host system's Python version.
How to have host system's python version match with that of the dockerfile ?
本文标签:
版权声明:本文标题:deployment - ModuleNotFoundError : No module name distutils when deploying taiga-back app to railway - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744136831a2592434.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论