get_exe_prefixes passes bytes to yield_lines

Create issue
Issue #284 new
Former user created an issue

on python 3.2, this line crashes because returns bytes: for pth in yield_lines(

instead, this works: for pth in yield_lines(str(, encoding="ascii")):

Comments (3)

  1. Thomas Kluyver

    Call easy_install with a .exe package under Python 3. I ran into it trying to install pywin32, which can be downloaded from:

    More suitably for a test, you can call:


    In both cases, it fails with a TypeError: 'int' object is not iterable in yield_lines, which is expecting str or an iterable of strs.

  2. Log in to comment