hey team, I am running Metaflow `2.11.9` - and I a...
# ask-metaflow
c
hey team, I am running Metaflow
2.11.9
- and I also have
metaflow-netflxext=1.1.3
installed as well. I am trying to run a flow and using the metaflow-card-html package to attach an HTML object to a step card - however the card is failing to render in the UI. When I run the flow locally - the card renders as expected. However when I use the
metaflow-netflxext
@named_env
decorator, the card does not render (despite all necessary packages being installed in the environment. Im wondering why the use of the named-environments functionality is causing the issues with the html card not rendering? providing a screenshot of the metaflow UI with the failed card render in the 🧵
✅ 1
Screenshot 2024-04-09 at 9.03.03 AM.png
d
It shouldn’t prevent it from working. Let me send you a set of commands to try to manually render it so we can see what the errror is. When you say it works locally does that mean outside of any conda environments?
c
yes outside any conda environments.
and its just the named_env decorator that is causing the issue. when I use the
@conda
and
@pypi
decorators (even combined in the same flow) the card renders properly
d
ok, that is interesting. Could you do the following to make sure that you indeed have all the libraries required (most likely not):
metaflow environment show --pathspec <pathspec to step>
You can do it for both the one that works and the one that doesn’t
that should show you all the libraries taht are in both steps
named_env
is just a way to alias other environments so there is functionally no difference between using that and a combination of
conda
,
pypi
.