Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83456

Re: Non-unique dirs in sys.path

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'win32': 0.03; 'here?': 0.09; 'python': 0.11; 'jan': 0.12; 'assume': 0.14; '2.7': 0.14; 'path.': 0.16; 'subject:Non': 0.16; 'wrote:': 0.18; 'installation': 0.23; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'checked': 0.32; 'fri,': 0.33; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'files': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'removing': 0.60; 'different': 0.65; 'discovered': 0.83; '2015': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=JISDyFT+475qhs7LbhT/yhSsbnlH8TTKoV47Olpp1CI=; b=uI+Vght3d1os9RTV8oaD92ZHxzJ9WqFqdivA9nqXAkWxf6cut/Ul6tDwD5CXTGeAAY DTuPbE+ClDjPD9/NxYwMF064iJdSuIH0ZXCBC8YK6de++O70SmgMvDaQaSar6sVuMDKW 96gossB6u1kJF/MOcznigiEQbPD1E8GyMNoadRKJyaVBNRQ8VciSZFnfOWmY9F/hkoSw zrzuSStYXHNYtyb5l35SNyyo8J39uGZja3Pv7kvRomYSK0M2R8M2zVIwUyKMXk62d3Wh oOC0qCyyQRLC6uBH23rwW/4MWmyIVE3kZgXFFpJWFICsI4dRdVU5ot3FvdDPX71JADzF 0M2g==
X-Received by 10.70.90.100 with SMTP id bv4mr15571338pdb.29.1420821691880; Fri, 09 Jan 2015 08:41:31 -0800 (PST)
MIME-Version 1.0
In-Reply-To <54AFD43F.5040100@yahoo.no>
References <54AFD43F.5040100@yahoo.no>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Fri, 9 Jan 2015 09:40:51 -0700
Subject Re: Non-unique dirs in sys.path
To Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17534.1420821695.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1420821695 news.xs4all.nl 2882 [2001:888:2000:d::a6]:38590
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83456

Show key headers only | View raw


On Fri, Jan 9, 2015 at 6:14 AM, Gisle Vanem <gvanem@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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Non-unique dirs in sys.path Ian Kelly <ian.g.kelly@gmail.com> - 2015-01-09 09:40 -0700

csiph-web