Skip to content

Conversation

@csukuangfj
Copy link

It wastes me more than 3 hours to figure out the real reason why the upload fails. Hope this pull-request
can avoid wasting other's time.

The code is from #501 (comment)

It's also used by pytorch/audio#354 (comment)

@mjstahlberg
Copy link

Within a temporary conda environment, one can use the commit referenced in this PR to monkey-patch anaconda-client as follows:

# HACK: Patch anaconda-client to show an error message.
conda install wget git
cd "$(conda info|grep 'active env location'|awk '{print $5}')/lib/python"*"/site-packages/"
wget https://github.com/Anaconda-Platform/anaconda-client/commit/bb74857cbc0b59e9c328fbf7e31caaedbc1bb9f9.diff
git apply bb74857cbc0b59e9c328fbf7e31caaedbc1bb9f9.diff
cd -

This has worked for me using the conda/miniconda3 docker image. The environment has to be active and anaconda-client needs to be installed therein.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants