File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
ci_build/azure_pipelines/templates Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,14 @@ jobs:
70
70
# versionSpec: '$(CI_PYTHON_VERSION)'
71
71
# architecture: 'x64'
72
72
73
+ # TODO: Conda Environment task is deprecating, move to raw python after issue above is fixed.
74
+ # https://github.com/Microsoft/azure-pipelines-tasks/pull/9573
73
75
- task : CondaEnvironment@1
74
76
inputs :
75
77
createCustomEnvironment : ' true'
76
78
environmentName : ' tf2onnx'
77
79
packageSpecs : ' python=$(CI_PYTHON_VERSION)'
80
+ updateConda : ' false'
78
81
79
82
- ${{ if eq(parameters.run_setup, 'True') }} :
80
83
- template : ' setup.yml'
Original file line number Diff line number Diff line change 8
8
python setup.py install
9
9
pip freeze --all
10
10
displayName : ' Setup Environment'
11
+
12
+ # TODO: remove later
13
+ # Anaconda python 3.6.8 h9f7ef89_1 changed dll lookup logic, numpy failes to load dll on Windows
14
+ # https://github.com/numpy/numpy/issues/12957
15
+ # https://github.com/ContinuumIO/anaconda-issues/issues/10629
16
+ # Add numpy lib path manually here
17
+ - bash : |
18
+ site_dir=$(python -c "import site; print(site.getsitepackages()[1])")
19
+ echo "##vso[task.prependpath]$site_dir\numpy\.libs"
20
+ displayName : ' Fix numpy path'
21
+ condition : and(succeeded(), in(variables['Agent.OS'], 'Windows_NT'))
22
+
23
+ - bash : env
24
+ displayName : ' Display Environment Variables'
You can’t perform that action at this time.
0 commit comments