conda build failed on windows
## Repro

python .\\binaries\\build.py

## Failure Logs [if any]
<!--- Provide any relevant log snippets or files here. -->
```
conda-build: error: the following arguments are required: RECIPE_PATH
'install' is not recognized as an internal or external command,
operable program or batch file.
## Started torchserve, model-archiver and workflow-archiver conda build
## Using torchserve wheel: C:\\Users\\Administrator\\serve\\binaries\\..\\dist\\torchserve-0.4.3-py2.py3-none-any.whl
## Using model archiver wheel: C:\\Users\\Administrator\\serve\\binaries\\..\\model-archiver\\dist\\torch_model_archiver-0.4.3-py2.py3-none-any.whl
## Using workflow archiver wheel: C:\\Users\\Administrator\\serve\\binaries\\..\\workflow-archiver\\dist\\torch_workflow_archiver-0.1.3-py2.py3-none-any.whl
## In directory: C:\\Users\\Administrator\\serve; Executing command:  build --output-folder C:\\Users\\Administrator\\serve\\binaries\\conda\\output --python=3.6 C:\\Users\\Administrator\\serve\\binaries\\conda\\torchserve
'build' is not recognized as an internal or external command,
operable program or batch file.
## Conda Build Failed !
## Conda Build Failed !
```
diff --git a/binaries/conda/build_packages.py b/binaries/conda/build_packages.py
index 7b7f1ee8..697ecf0f 100644
--- a/binaries/conda/build_packages.py
+++ b/binaries/conda/build_packages.py
@@ -8,6 +8,10 @@ REPO_ROOT = os.path.join(conda_build_dir, "..", "..")
 MINICONDA_DOWNLOAD_URL = "https://repo.anaconda.com/miniconda/Miniconda3-py39_4.9.2-Linux-x86_64.sh"
 CONDA_BINARY = os.popen("which conda").read().strip() if os.system(f"conda --version") == 0 else  f"$HOME/miniconda/condabin/conda"
 
+if os.name == "nt":
+    #Assumes miniconda is installed in windows
+    CONDA_BINARY = "conda"
+
 def install_conda_build():
     """
     Install conda-build, required to create conda packages
@@ -24,6 +28,9 @@ def install_miniconda():
     if exit_code == 0:
         print(f"'conda' already present on the system. Proceeding without a fresh minconda installation.")
         return
+    if os.name == "nt":
+        print("Identified as Windows system. Please install miniconda using this URL: https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe")
+        return
 
     os.system(f"rm -rf $HOME/miniconda")
     exit_code = os.system(f"wget {MINICONDA_DOWNLOAD_URL} -O ~/miniconda.sh")
diff --git a/binaries/upload.py b/binaries/upload.py
index b0d6c4a9..ff322d3a 100644
--- a/binaries/upload.py
+++ b/binaries/upload.py
@@ -46,7 +46,7 @@ def upload_conda_packages():
     """
 
     # Identify *.tar.bz2 files to upload
-    anaconda_token = os.environ[CONDA_TOKEN_ENV_VARIABLE]
+    anaconda_token = os.getenv(CONDA_TOKEN_ENV_VARIABLE)
 
     for root, _, files in os.walk(CONDA_PACKAGES_PATH):
         for name in files:
['binaries/conda/build_packages.py', 'binaries/upload.py']