Non-unique dirs in sys.path

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 9 11:40:51 EST 2015


On Fri, Jan 9, 2015 at 6:14 AM, Gisle Vanem <gvanem at yahoo.no> wrote:
> Why are these listed twice with different casing? One
> would assume that Python on Win32 would be case-insensitive.
> Some .pth-file to blame here?

I checked my own Python 2.7 installation and discovered that I have
the same problem, although without the different casing. Perusing the
.pth files in site-packages turns up setuptools.pth, which just
contains the site-packages path. Removing that file solves the issue
for me.



More information about the Python-list mailing list