Forum Discussion
Usama_Irfan
Oct 21, 2022Copper Contributor
ERROR: {'Azure-cli-ml Version': '1.41.0', 'Error': FileNotFoundError(2, 'No such file or directory')
Hello,
I am getting an error while building CI pipeline for ML model using Azure ACI in Azure DevOps (Happens when registering the model). Any advice to resolve this error would be much appreciated. The error is shown below.
ERROR: {'Azure-cli-ml Version': '1.41.0', 'Error': FileNotFoundError(2, 'No such file or directory')}
The environment I am using is
name: project_environment
dependencies:
- python=3.8.13
- pip:
- numpy
- seaborn
- matplotlib
- pandas
- azureml-defaults~=1.44.0
- joblib
- inference-schema
- scikit-learn==0.22.1
channels:
- anaconda
- conda-forge
1 Reply
- itisaxenaCopper Contributor
Usama_Irfan it's not able to locate your file in the working directory. before your az ml command execute "ls -R" to check where the file that you are using in your az ml command is located. Get the absolute location and replace it in az ml command before file name.