Is it at all possible to define a sepearte index-u...
# ask-metaflow
f
Is it at all possible to define a sepearte index-url using the pypi decorator for a particular package? I need the CPU version of pytorch in my flow for testing purposes.
d
it should read index-urls from your pip.conf but I don’t think pip allows you to specify a specific index for a package. You can, however, with pip, specify a full URL and I think it should work with the current implementation of the pypi decorator though I haven’t tried it. It should be quick to try something like
@pypi(packages={"https://…..whl": ""}
or something like that.