I am trying to create a pipeline in my AzureML Workspace Notebook. I have imported the top packages without issues:

!pip install pyarrow==3.0.0
!pip install python==3.8.0
!pip install azureml-core==1.51.0
!pip install azureml-pipeline-steps==1.51.0
import os
import requests
import tempfile
import azureml.core
from azureml.core import Environment
from azureml.core.runconfig import RunConfiguration
from azureml.core import Workspace
import yaml
import azureml.core

However when i try to import the azureml.pipeline package I get an error:

from azureml.pipeline.core import PipelineData
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[18], line 6
      4 import tempfile
      5 import azureml.core
----> 6 from azureml.pipeline.core import PipelineData
ModuleNotFoundError: No module named 'azureml.pipeline'

What should I do about this, is tyhere another way to create pipeline steps in the notebook? Thank you in advance!

@Pascalle Veltman Welcome to Microsoft Q&A forum!

The error message ModuleNotFoundError: No module named 'azureml.pipeline after installing azureml-pipeline-steps==1.51.0 indicates that here is a version incompatibility between azureml-pipeline-steps and azureml-core.

Can you try installing with azureml-pipeline instead of azureml-pipeline-steps to see if that resolves the issue.

Do let us know if that solves your issue or have any further queries.