Full error:
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\Program Files\GDAL"'
Why is Python looking for the file C:\Program Files\GDAL" when I run the following?
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
I even created a folder named GDAL in my C:/Program files folder, but it's still not working? Why in the world must uploading a package to PyPi be such a pain?!?
Ok, so I figured it out - turns out my PYTHONPATH variable was set to C:\Program Files\GDAL" for some unknown reason. I changed it to C:\Users\\Anaconda3 and now it works!