Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit afe6d7b

Browse files
committed
Fix the login issue
1 parent 39987bd commit afe6d7b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

windows/internal/upload.bat

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,16 @@ IF ERRORLEVEL 1 (
4343
set "ORIG_PATH=%PATH%"
4444
set "PATH=%CONDA_HOME%;%CONDA_HOME%\scripts;%CONDA_HOME%\Library\bin;%PATH%"
4545

46-
conda install -y anaconda-client
47-
48-
bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
46+
REM conda install -y anaconda-client
47+
pip install git+https://github.com/peterjc123/anaconda-client.git@log_more_meaningfull_errors
4948
IF ERRORLEVEL 1 (
50-
echo Anaconda client login failed
49+
echo Anaconda client installation failed
5150
exit /b 1
5251
)
5352

54-
pip install git+https://github.com/mjscosta/anaconda-client.git@log_more_meaningfull_errors
53+
bash -c "yes | anaconda login --username "%PYTORCH_ANACONDA_USERNAME%" --password "%PYTORCH_ANACONDA_PASSWORD%""
5554
IF ERRORLEVEL 1 (
56-
echo Anaconda client installation failed
55+
echo Anaconda client login failed
5756
exit /b 1
5857
)
5958

0 commit comments

Comments
 (0)