Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83475 > unrolled thread
| Started by | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| First post | 2015-01-09 15:49 -0700 |
| Last post | 2015-01-09 15:49 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Non-unique dirs in sys.path Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-09 15:49 -0700
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2015-01-09 15:49 -0700 |
| Subject | Re: Non-unique dirs in sys.path |
| Message-ID | <mailman.17546.1420843838.18130.python-list@python.org> |
On Fri, Jan 9, 2015 at 2:24 PM, Gisle Vanem <gvanem@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
Back to top | Article view | comp.lang.python
csiph-web