diff --git a/environment.yml b/environment.yml index e9361ad5de..cc915e64a9 100644 --- a/environment.yml +++ b/environment.yml @@ -50,5 +50,4 @@ dependencies: - pypandoc - markdownify - traitlets - - opencv-python - - sentence_transformers~=2.2.2 + - opencv-python \ No newline at end of file diff --git a/templates/conda.yml b/templates/conda.yml index 8c36f95929..e2ead3a58c 100644 --- a/templates/conda.yml +++ b/templates/conda.yml @@ -17,6 +17,7 @@ steps: retryCountOnTaskFailure: 1 - bash: | (timeout 30m conda env create --yes -f environment.yml -v) || (timeout 30m conda env create --yes -f environment.yml -v) + pip install sentence_transformers=2.2.2 displayName: Create Anaconda environment retryCountOnTaskFailure: 1 condition: eq(variables.CONDA_CACHE_RESTORED, 'false')