Hey all, I am trying to create an isolated environ...
# ask-metaflow
c
Hey all, I am trying to create an isolated environment for my flow using the
@conda
and
@pypi
decorators. One of the libraries I need for my flow (
metaflow-card-html
) is only available in
pypi
(all other libraries are available via
conda
) and therefore I need to combine both decorators. I installed the
metaflow-netflixext
in order to be able to use both
@conda
and
@pypi
decorators in the same flow for the time being. However when running my flow on
AWS
batch I run into a
Micromamba
error:
Copy code
Stdout: Failed to install Micromamba!
I tried uninstalling
metaflow-netflixext
and running only on the stable Metaflow version, and executing a command to manually pip install
metaflow-card-html
before the FlowSpec, like so:
Copy code
import subprocess
import sys

subprocess.run([sys.executable, "-m", "pip", "install", "metaflow-card-html"])
and then ran the flow with
python path/to/flow.py --environment=conda run
but ran into the same Micromamba error. Wondering if anyone has seen this
Micromamba
error before and knows a solution?
1