I have just started to learn Python and created my first module. I wanted to upload to Pypi so I registered on the site manually and following it I tried to run at CMD. I run command as following:
I have searched all over the internet but I'm not finding anything regarding this thing and as I'm just few days old in python really not getting much idea what to do,so help me!!
You need to create a .pypirc file in your Home directory in.
It should contain this
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository=https://pypi.python.org/pypi
username=your_username
password=your_password
[pypitest]
repository=https://testpypi.python.org/pypi
username=your_username
password=your_password
This will correct the path to https as your error suggests
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.