-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MLClient.create_or_update fails with pip issue #39764
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-ml-sdk @azureml-github. |
Full stack trace:
|
I was able to get an environment to work by just fiddling with the packages and running them again. In the case above I changed:
I figured it out by randomly swapping things out until I got it to work. Basically, just button mashing. Having some insights into the mutated env file might make it easier? |
Fails when trying to create a conda env. From the
std_log
it looks like a pip issue.Error:
Code above should repro. Building the same enviornment locally yields no problems. I'll include the env.yaml as well as the full stack trace. However, I noticed that the line:
conda env create -p /azureml-envs/azureml_3f1df6da00c846b450f70fbe06959c09 -f azureml-environment-setup/mutated_conda_dependencies.yml
mutated_conda_dependencies.yml
is adding or removing packages? Is it possible you are adding something that I'm not?I saw this line in the stack trace:
Sounds similar to this SO post: https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean
This makes it impossible to create an env using the sdk.
Expected behavior
If you AML is adding packages via
mutated_conda_dependencies
, then you should fix the packages dependencies so that you can build an environment without fail.My env.yaml (pretty short)
The text was updated successfully, but these errors were encountered: