Failed to install opencv in a step of a pipeline
I am trying to make a trining step for a pipeline where I need open cv, I have manage to install it in the environment but for some reason it doesn't find it. My error:
Execution failed. User process '/azureml-envs/azureml***/bin/python' exited with status code 1. Please check log file 'user_logs/std_log.txt' for error details. Error: Traceback (most recent call last):
File "train.py", line 8, in
I have also tried with regular import opencv-python
my yml: name: train_env channels:
- conda-forge dependencies:
- python=3.8.1
- ipykernel
- PyYAML
- requests
- tqdm
- pip
- pip:
- opencv-python-headless
- azureml-defaults
- torch
- torchvision
- ultralytics
- matplotlib
- pandas
- pyarrow
- Pillow
- onnx
- pathlib
- numpy
- requests
- scipy