Skip to content
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

Unable to import azureml.contrib #1682

Closed
tomjamesis opened this issue Feb 13, 2022 · 3 comments
Closed

Unable to import azureml.contrib #1682

tomjamesis opened this issue Feb 13, 2022 · 3 comments

Comments

@tomjamesis
Copy link

The title is identical to 'Unable to import azureml.contrib', which appears to be sub-set issue of the confusing Python package strategy and not resolved by another associated issue azureml-defaults not described. This problem does not have a solution that I can find via Google.

The attached image demonstrates the error and attempts to resolve it (cell [14]). Yes, the 'Trainig' typo is noted!!!

azureml-contrib package issue

@vizhur
Copy link
Collaborator

vizhur commented Feb 15, 2022

There is no package with name azureml-contrib exists so pip installed failed with a clear error. please install azureml-contrib-dataset along with other dependencies needed
https://pypi.org/project/azureml-contrib-dataset/

@vizhur vizhur closed this as completed Feb 15, 2022
@tomjamesis
Copy link
Author

Unfortunately, I tried this, which is visible in the second line within 'cell[14]' and is commented out, in the previously attached image. Running !pip list indicates that azureml-contrib-dataset 1.38.0 is installed (see below).

image

I have also performed a full !pip audit to eliminate missing package issues but this did not solve the issue either.

@vizhur
Copy link
Collaborator

vizhur commented Feb 17, 2022

pip install azureml-contrib-dataset
python

import azureml.contrib.dataset

unable to repro. Possibly something was installed that overwrote the namespace and you still see the package but it can't be resolved by python. Full pip list might help, or try to force package install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants