Title: pip: IndexError
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.6
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, eric.smith, hearot
Priority: normal Keywords:

Created on 2018-03-16 16:58 by hearot, last changed 2018-03-17 09:53 by berker.peksag. This issue is now closed.

Messages (3)
msg313958 - (view) Author: Gabriel Hearot (hearot) * Date: 2018-03-16 16:58
Traceback (most recent call last):
  File "", line 45, in <module>
  File "/usr/lib/python3.6/distutils/", line 148, in setup
  File "/usr/lib/python3.6/distutils/", line 955, in run_commands
  File "/usr/lib/python3.6/distutils/", line 974, in run_command
  File "/usr/lib/python3.6/distutils/command/", line 63, in run
    self.upload_file(command, pyversion, filename)
  File "/usr/lib/python3.6/distutils/command/", line 156, in upload_file
    value = value[1]
IndexError: tuple index out of range
msg313960 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-03-16 17:43
You did not provide enough information for us to reproduce this problem. To see the kind of information we need, see for example

And if you already have determined this is a problem with pip, they have their own issue tracker:
msg313992 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2018-03-17 09:53
The OP has also asked this on Stack Overflow:

The problem was that they were passing a tuple to the url field.
Date User Action Args
2018-03-17 09:53:56berker.peksagsetstatus: pending -> closed

versions: + Python 3.6, - Python 3.4
nosy: + berker.peksag

messages: + msg313992
resolution: not a bug
stage: resolved
2018-03-16 19:59:01eric.smithsetstatus: open -> pending
2018-03-16 17:43:46eric.smithsetnosy: + eric.smith
messages: + msg313960
2018-03-16 16:58:08hearotcreate