Skip to content

Commit

Permalink
Add numpy install to windows conda tests (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Jan 24, 2024
1 parent 0816ae7 commit e6c5142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows/internal/smoke_test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if errorlevel 1 exit /b 1

set "PATH=%CD%\Python%PYTHON_VERSION%\Scripts;%CD%\Python;%PATH%"

pip install -q numpy protobuf
pip install -q numpy protobuf
if errorlevel 1 exit /b 1

for /F "delims=" %%i in ('where /R "%PYTORCH_FINAL_PACKAGE_DIR:/=\%" *.whl') do pip install "%%i"
Expand Down Expand Up @@ -87,7 +87,7 @@ set "PATH=%CONDA_HOME%;%CONDA_HOME%\scripts;%CONDA_HOME%\Library\bin;%PATH%"

conda create -qyn testenv python=%DESIRED_PYTHON%
if errorlevel 1 exit /b 1
call conda install -yq conda-build
call conda install -yq conda-build numpy
if errorlevel 1 exit /b 1
call %CONDA_HOME%\condabin\activate.bat testenv
if errorlevel 1 exit /b 1
Expand Down

0 comments on commit e6c5142

Please sign in to comment.