Has anybody got an error like this when you try to upload your package ?
$ twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Enter your username: MyUsername
Enter your password: ********
TypeError: expected string or bytes-like object
Edit: Got the same error again but this time to fix it I upgraded twine and it started working again.
Updating twine solved the problem for me. For this, execute the following command before doing twine upload dist/*
:
python3 -m pip install --user --upgrade twine
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With