I am using a custom package for training. I would love to be able to install the package from it's source (i.e. pip install git+url) but git isnt installed on AML computes.
I am looking into places to publish (such as private pypi or azure artifacts) but i want to confirm that AML configureation will be able to install them.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the question. We are currently investigating and will update you shortly.
@zackdrescher You can use CondaDependencies() to write a environment configuration file like myenv.yml to add required dependencies.
@RohitMungi-MSFT how do you add a new PyPi feed such as one from azue artifacts to the CondaDependencies() object?
Is set_pip_index_url what i'm looking for?
@zackdrescher Hi Zack, yes, set_pip_index_url is equal to the operation pip --index-url< url >, you can refer to following document for more. https://pip.pypa.io/en/stable/reference/pip_wheel/#cmdoption-i
And also, here is a document about how to import private package as dependency which I think may help. https://www.revsys.com/tidbits/using-private-packages-python/
Thank you.
Thanks!