Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?

ant ant at anthive.com
Sun Dec 23 17:36:32 EST 2018

sntshkmr60 at gmail.com wrote:
>> .pypirc 
>> [distutils]
>> index-servers=
>>     testpypi
>> [testpypi]
>> repository: https://test.pypi.org/legacy/
>> username: UserName
>> password: Password
>> twine upload --repository testpypi dist/*
> Tried your suggestion for .pypirc file. Still the same error.
> Has something changed and is not reflected in the documentation?

  did you check your dists via twine?

  $ twine check --verbose dist/*

  also make sure you are using up to date versions of
setuptools, wheel and twine

  $ pip install --upgrade setuptools
  $ pip install --upgrade wheel
  $ pip install --upgrade twine

  i just used it earlier today...  worked fine for me.
is your account there and verified?


More information about the Python-list mailing list