Is there any preference for @conda vs @pypi? I don...
# ask-metaflow
c
Is there any preference for @conda vs @pypi? I don't really have one, so I'm wondering which I should default to.
1
d
depends on where your packages are available. Note though that under the hood, the
@pypi
decorator also uses a conda environment to create teh “base” environment and then uses pip inside that to install all the pypi dependencies. If you can use only
@conda
, it is probably faster and preferable. You can mix and match both but not with the default pypi/conda decorators, see this to do it: https://docs.metaflow.org/scaling/dependencies/libraries#bleeding-edge-versions-of-the-decorators