#124 Cannot register using command-line


I am not exactly sure if it is a proper place for my problem. I am quite new to Python in general.
I am working on Windows 7 with Python 3.2. I wanted to upload a module to PyPI. To do that I have to register with the command-line. I use the command "python3 setup.py register" and then I have to choose whether to use existing login, to create new etc. I am already registered on the website. When I choose 1 and press Enter, it still wants me to put a proper number.
I searched the web and I found out that the solution is to specify my username and password in the .pypirc file. The problem is that I have no idea where to find this file. Should I maybe create it? The ".pypirc" is the extension? What is the exact name of the file?


  • Martin v. Löwis

    That's not a bug in PyPI, but probably one in distutils - you may want to report it to the Python bug tracker (bugs.python.org).

    Notice, however, that you don't *need* to register the package through distutils. You can also use the link "Package submission" in the web interface instead.

  • Martin v. Löwis

    • status: open --> closed
  • Sanjib Ahmad

    Sanjib Ahmad - 2011-05-17

    There is a solution here:

    I had both 2.7 and 3.2 installed on my Windows 7 64-bit os. First running register from 2.7 and then re-running from 3.2 solved the problem for me.

    Didn't need to perform any further install/uninstall, etc.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks