On Fri, Jan 9, 2015 at 2:24 PM, Gisle Vanem <gva...@yahoo.no> wrote: > Ian Kelly wrote: > >> 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. > > > That was the case here too! Deleted my setuptools.pth and the "problem" > was gone. It would be nice to know how these .pth files are involved in > extending the 'sys.path[]'. Who does that and how? Any good reference on > that?
The automatically imported site module processes the .pth files. https://docs.python.org/2/library/site.html -- https://mail.python.org/mailman/listinfo/python-list