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


Groups > comp.lang.python > #27948 > unrolled thread

Re: sys.path in python3.3

Started byNed Deily <nad@acm.org>
First post2012-08-26 14:23 -0700
Last post2012-08-26 14:23 -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.


Contents

  Re: sys.path in python3.3 Ned Deily <nad@acm.org> - 2012-08-26 14:23 -0700

#27948 — Re: sys.path in python3.3

FromNed Deily <nad@acm.org>
Date2012-08-26 14:23 -0700
SubjectRe: sys.path in python3.3
Message-ID<mailman.3854.1346016213.4697.python-list@python.org>
In article 
<CAAu18hc8tKnuCqcoiOVyPa1yc9QgvU-BqUOe91r7G3Ye8HG9NA@mail.gmail.com>,
 Nicholas Cole <nicholas.cole@gmail.com> wrote:

> On Sun, Aug 26, 2012 at 8:21 PM, Ned Deily <nad@acm.org> wrote:
> > In article
> > <CAAu18hc7katbONp7A+-A1pyE8BYySgfaC4FHHKSD8peeQjLMbg@mail.gmail.com>,
> >  Nicholas Cole <nicholas.cole@gmail.com> wrote:
> >> In all previous versions of python, I've been able to install packages
> >> into the path:
> >>
> >> ~/Library/Python/$py_version_short/site-packages
> >>
> >> but in the rc builds of python 3.3 this is no longer part of sys.path.
> >>
> >> Before I go hacking the install, is there a reason that this path was
> >> removed?  Is there a recommended way to get it back, or is this a
> >> gentle way of pushing us all to use virtualenv rather than installing
> >> user-specific packages?
> >
> > It should be working if you are using an OS X framework build.  What is
> > the value of sys.path?
> 
> I'm using the compiled version supplied by python.org.

The directory needs to exist otherwise the path is not included (see 
site.py).

-- 
 Ned Deily,
 nad@acm.org

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web