Docker build for docker-mendix-buildpack fails: ModuleNotFoundError: No module named ‘requests’”
0
While using the official deployment tool to deploy a Mendix project on Ubuntu, I downloaded the docker-mendix-buildpack, but running docker build throws an error. I’ve tried many approaches without success and currently have no idea where the problem lies. problem: Traceback (most recent call last): File "/opt/mendix/buildpack/compilation.py", line 10, in <module> from buildpack import util File "/opt/mendix/buildpack/buildpack/util.py", line 13, in <module> import requestsModuleNotFoundError: No module named 'requests'
asked
zhen wang
2 answers
0
Please try to install the python library requests
answered
Yongyan Chen
0
If you are still using ubi-minimal to build the image replace it with Use mendix-rootfs-app and mendix-rootfs-builder will fix the issue