Skip to content

cannot import 'AutoMLConfig from azureml.train.automl #128

@dataders

Description

@dataders

I tried to create a fresh environment using the three methods below. No matter what I can't import from azureml.train.automl. Help!

  1. using automl/automl_env.yml from this repo: conda create env -n AML_BTB -f automl_env.yml
  2. The instructions given here.
  3. The instructions listed here: pip install --upgrade azureml-sdk[notebooks,automl]
  4. The instructions listed here
>>> from azureml.train.automl import AutoMLConfig
3.6.7 |Anaconda, Inc.| (default, Oct 28 2018, 19:44:12) [MSC v.1915 64 bit (AMD64)]
C:\Users\swanderz\Documents\attrition\aml_config\config.json
Found the config file in: C:\Users\swanderz\Documents\attrition\aml_config\config.json
avadevitsmlsvc  westus2 RG-ITSMLTeam-Dev        westus2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\swanderz\AppData\Local\Continuum\anaconda3\envs\AML_BTB\lib\site-packages\azureml\train\automl\__init__.py", line 12, in <module>
    from automl.client.core.common.utilities import extract_user_data, get_sdk_dependencies
  File "C:\Users\swanderz\Documents\attrition\automl.py", line 40, in <module>
    from azureml.train.automl import AutoMLConfig
ImportError: cannot import name 'AutoMLConfig'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions