1

Python 3.10, Pip install azureml-sdk 1.39.0.
Environments: Win10 PS, VS2022, and a docker image- all same results . Pip show shows the azureml-core package.

Simple (I thought) script, but it can't find "azureml.core" No module named azureml is the error. How do I make it "find" it? I'm new at python so it could be syntax.

import os
from azureml.core import Workspace, Experiment, Environment, Model,Dataset,Datastore,ScriptRunConfig
     
    # check core SDK version number
    print("Azure ML SDK Version: ", azureml.core.VERSION)
LarryR
  • 69
  • 8
  • 1
    Please share details on how you're running your code, is it inside any type of virtual env like conda? – Sysanin Mar 18 '22 at 16:58
  • 1
    This was in a conda environment, but I did find the issue. Apparently, I needed to import azureml then from azureml.core import ..... – LarryR Mar 26 '22 at 14:43

1 Answers1

1

azureml python sdk does not support py3.10 yet, AutoML sdk supports py<=3.8.

vizhur
  • 467
  • 3
  • 7