[Ironpython-users] trouble installing Pylint

George Nychis gnychis at gmail.com
Mon Jul 20 23:40:41 CEST 2015

I am trying to install Pylint with IronPython, but I'm running in to the
following issue below.  Is there something special that I need to do to
install pylint?

$ ./ipy.exe -X:Frames -m pip install pylint
Downloading/unpacking pylint
C:\Program Files (x86)\IronPython
DeprecationWarning: object.__new__() takes no parameters
  # urllib3/connectionpool.py
C:\Program Files (x86)\IronPython 2.7\Lib\weakref.py:1: DeprecationWarning:
object.__init__() takes no parameters for type KeyedRef
  """Weak reference support for Python.
Requirement already satisfied (use --upgrade to upgrade): six in c:\program
files (x86)\ironpython 2.7\lib\site-packages (from pylint)
Downloading/unpacking astroid>=1.3.6 (from pylint)
Cleaning up...
Traceback (most recent call last):
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\commands\install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle,
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\req.py", line 1201, in prepare_files
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\req.py", line 1376, in unpack_url
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\download.py", line 546, in unpack_http_url
    resp = session.get(target_url, stream=True)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 468, in get
    return self.request('GET', url, **kwargs)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\download.py", line 237, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 456, in
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\_vendor\requests\sessions.py", line 559, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files (x86)\IronPython
2.7\lib\site-packages\pip\_vendor\requests\adapters.py", line 317, in send
    resp = conn.urlopen(
  File "C:\Program Files (x86)\IronPython
line 502, in urlopen
    response = HTTPResponse.from_httplib(httplib_response,
  File "C:\Program Files (x86)\IronPython
line 256, in from_httplib
    headers = HTTPHeaderDict()
  File "C:\Program Files (x86)\IronPython
line 155, in __init__
    self.update(headers, **kwargs)
  File "C:\Program Files (x86)\IronPython 2.7\Lib\_abcoll.py", line 492, in
    if isinstance(other, Mapping):
  File "C:\Program Files (x86)\IronPython 2.7\Lib\abc.py", line 132, in
    if subclass is not None and subclass in cls._abc_cache:
  File "C:\Program Files (x86)\IronPython 2.7\Lib\_weakrefset.py", line 70,
in __contains__
    wr = ref(item)
ValueError: Index was out of range. Must be non-negative and less than the
size of the collection.
Parameter name: index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150720/ce171484/attachment.html>

More information about the Ironpython-users mailing list