Azure-docs: Private package as a dependency

Created on 19 Apr 2019  Â·  5Comments  Â·  Source: MicrosoftDocs/azure-docs

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.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

corsubsvc cxp machine-learninsvc product-question triaged

All 5 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ponant picture Ponant  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments