Skip to content

Commit 748457c

Browse files
authored
windows: Make sure dataclasses is included for 3.6 (#512)
Was failing upstream since we weren't installing the dependnecy Signed-off-by: Eli Uriegas <[email protected]>
1 parent 86e9398 commit 748457c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windows/build_pytorch.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ FOR %%v IN (%DESIRED_PYTHON%) DO (
5656
set PYTHON_VERSION_STR=%%v
5757
set PYTHON_VERSION_STR=!PYTHON_VERSION_STR:.=!
5858
conda remove -n py!PYTHON_VERSION_STR! --all -y || rmdir %CONDA_HOME%\envs\py!PYTHON_VERSION_STR! /s
59-
if "%%v" == "3.6" conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 "mkl>=2019" cffi pyyaml boto3 cmake ninja typing_extensions python=%%v
59+
if "%%v" == "3.6" conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 "mkl>=2019" cffi pyyaml boto3 cmake ninja typing_extensions dataclasses python=%%v
6060
if "%%v" == "3.7" conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 "mkl>=2019" cffi pyyaml boto3 cmake ninja typing_extensions python=%%v
6161
if "%%v" == "3.8" conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 "mkl>=2019" pyyaml boto3 cmake ninja typing_extensions python=%%v
6262
if "%%v" == "3" conda create -n py!PYTHON_VERSION_STR! -y -q numpy=1.11 "mkl>=2019" pyyaml boto3 cmake ninja typing_extensions python=%%v

0 commit comments

Comments
 (0)