anchor.diff:      mkdir %WIX_DIR%
       pushd %WIX_DIR%
       echo Downloading Wix.
  -    curl -o wix-archive.zip %WIX_DOWNLOAD_URL% -k
  -    unzip -q wix-archive.zip
  +    curl --output wix-archive.zip %WIX_DOWNLOAD_URL%
  +    unzip wix-archive.zip
       if %errorlevel% neq 0 goto ERROR
       del wix-archive.zip
       echo Wix downloaded and extracted successfully.
       popd
   )
   
  -::ensure Python is available
  +REM ensure Python is available
   if exist %PYTHON_DIR% (
       echo Using existing Python at %PYTHON_DIR%
   )
   if not exist %PYTHON_DIR% (
  +    echo Setting up Python and pip
       mkdir %PYTHON_DIR%
       pushd %PYTHON_DIR%
  -    echo Downloading Python.
  -    curl -o Python389-32.zip %PYTHON_DOWNLOAD_URL% -k
  -    unzip -q Python389-32.zip
  +
  +    echo Downloading Python
  +    curl --output python-archive.zip %PYTHON_DOWNLOAD_URL%
  +    unzip python-archive.zip
       if %errorlevel% neq 0 goto ERROR
  -    del Python389-32.zip
  -    echo Python downloaded and extracted successfully.
  +    del python-archive.zip
  +    echo Python downloaded and extracted successfully
  +
  +    REM Delete _pth file so that Lib\site-packages is included in sys.path
  +    REM https://github.com/pypa/pip/issues/4207#issuecomment-297396913
  +    REM https://docs.python.org/3.10/using/windows.html#finding-modules
  +    del python*._pth
  +
  +    echo Installing pip
  +    curl --output get-pip.py %GET_PIP_DOWNLOAD_URL%
  +    %PYTHON_DIR%\python.exe get-pip.py
  +    del get-pip.py
  +    echo Pip set up successful
  +
  +    dir .
       popd
   )
   set PYTHON_EXE=%PYTHON_DIR%\python.exe
  
positive.code:    %BUILDING_DIR%\python.exe -m pip install --no-warn-script-location --no-cache-dir --no-deps .
     popd
  )
  %BUILDING_DIR%\python.exe -m pip install -r %CLI_SRC%\azure-cli\requirements.py3.windows.txt
  
  if %errorlevel% neq 0 goto ERROR
  
  
negative.code: )
  popd
  
  REM Remove __pycache__
  echo remove pycache
  for /d /r %BUILDING_DIR%\Lib\site-packages\pip %%d in (__pycache__) do (
      if exist %%d rmdir /s /q "%%d"
  )
  
  REM Remove aio
  echo remove aio
  for /d /r %BUILDING_DIR%\Lib\site-packages\azure\mgmt %%d in (aio) do (
      if exist %%d rmdir /s /q "%%d"
  )
  
  REM Remove dist-info
  echo remove dist-info
  pushd %BUILDING_DIR%\Lib\site-packages
  for /d %%d in ("azure*.dist-info") do (
  