Hello everyone, Currently I face the error when I ...
# flyte-support
f
Hello everyone, Currently I face the error when I tried to build docker image through Flyte. (The command below)
Copy code
pyflyte run --remote --project <flyte-project> --domain <domain> <workflow.py> <test_workflow>
and here is what I got.
Copy code
error    libmamba Could not solve for environment specs
     The following package could not be installed
     └─ python =3.10 does not exist (perhaps a typo or a missing channel).
critical libmamba Could not solve for environment specs
------
ERROR: failed to solve: process "/bin/sh -c micromamba config set use_lockfiles False &&     micromamba create -n runtime --root-prefix /opt/micromamba     -c conda-forge      python=3.10" did not complete successfully: exit code: 1
Any suggestion is greatly appreciated.
f
Unable to find python 3.10
Can you share your imagespec definition
f
Sure, here it is
Copy code
image_spec = fl.ImageSpec(
    name="say-hello-image",


    requirements="uv.lock",

 
    registry=<gcp-artifact-registry>
)
Update: To solve this problem, I tried to change the mamba container image to "mambaorg/micromamba:2.1-debian12-slim" (in the documentation there is parameters build_config )
Copy code
builder_config={"micromamba_image": "mambaorg/micromamba:2.1-debian12-slim"}
However, it seems that this parameter is not included in version 1.15.4 yet, so I decided to change this value located in flytekit library and get it to work. In case you face the same problem as me, I hope this one helps you a bit.