bitter-school-29575
12/21/2023, 6:02 PMancient-application-36103
12/21/2023, 7:07 PM@pypi decorator?bitter-school-29575
12/21/2023, 7:17 PM@pypi_base(python='3.9', packages={
'httpx': '>=0.20.0,<0.26.0',
'attrs': '>=21.3.0',
'python-dateutil': '2.8.2',
'numpy': '>=1.26.2',
'imageio': '2.33.1',
'imageio-ffmpeg': '0.4.9',
# 'ffmpeg-python': '>=0.2.0',
'matplotlib': '>=3.8.2',
'opencv-python': '>=4.2'
})
I also tried without python. I have 3.11.6 installed locally.bitter-school-29575
12/21/2023, 7:20 PMconda. After this, I switched to pypi and everything started working. After this problems with conda repo everything stopped workingbitter-school-29575
12/21/2023, 7:38 PMbulky-afternoon-92433
12/21/2023, 9:39 PMconda.manifest , this can be found in the .metaflow/FlowName/ folder. The environment resolving process uses the manifest to determine whether a package has already been pushed to the datastore or not (this depends on the package having a known path: or not).
As a first step could you try verifying if the path for the opencv package in your conda.manifest still exists in the blob storage?bulky-afternoon-92433
12/21/2023, 9:47 PM{
"url": "<https://files.pythonhosted.org/packages/b7/8a/b2f7e1a434d56bf1d7570fc5941ace0847404e1032d7f1f0b8fed896568d/opencv_python-4.8.1.78-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl>",
"path": "<http://files.pythonhosted.org/packages/b7/8a/b2f7e1a434d56bf1d7570fc5941ace0847404e1032d7f1f0b8fed896568d/opencv_python-4.8.1.78-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl|files.pythonhosted.org/packages/b7/8a/b2f7e1a434d56bf1d7570fc5941ace0847404e1032d7f1f0b8fed896568d/opencv_python-4.8.1.78-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl>"
}
as an example this is an excerpt from my conda.manifest. The path is relative to the configured datastore, and should be found under the conda/ prefix in there.bitter-school-29575
12/22/2023, 7:14 AM.metaflowbitter-school-29575
12/22/2023, 7:48 AMbillowy-exabyte-36648
12/22/2023, 8:35 AMmetaflow/condabillowy-exabyte-36648
12/22/2023, 8:38 AM~/miniforge3/pkgs) and found one that wasn't a valid tar file. This one was cached in S3 and caused flows that need it to crash in the bootstrap phasebillowy-exabyte-36648
12/22/2023, 8:48 AMconda.manifest / conda.dependencies files only contain the relative paths so if the datastore root changes, the packages will also be missingbitter-school-29575
12/22/2023, 9:40 AM~/ directory and cleaned everything related to conda / anaconda / mamba.
After this seems everything is working.