Why am I getting Error 405 while uploading my package to https://test.pypi.org/legacy?
ant at anthive.com
Sun Dec 23 19:59:44 EST 2018
sntshkmr60 at gmail.com wrote:
>> did you check your dists via twine?
>> $ twine check --verbose dist/*
> I checked with `twine check dist/*` (there's no --verbose option though).
> I only get warning about markdown
right, i see later in my history i used the twine
check without the verbose option.
you have to fix that for it to upload...
$ pip install readme_renderer[md]
>> 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
> > import setuptools, wheel, twine
> > print(setuptools.__version__)
> > print(wheel.__version__)
> > print(twine.__version__)
>> i just used it earlier today... worked fine for me.
>> is your account there and verified?
> Yes, I have an account on TestPyPI and is verified.
try the above...
More information about the Python-list