sys.path in python3.3
nicholas.cole at gmail.com
Mon Aug 27 00:59:52 CEST 2012
On Sun, Aug 26, 2012 at 10:23 PM, Ned Deily <nad at acm.org> wrote:
> In article
> <CAAu18hc8tKnuCqcoiOVyPa1yc9QgvU-BqUOe91r7G3Ye8HG9NA at mail.gmail.com>,
> Nicholas Cole <nicholas.cole at gmail.com> wrote:
>> On Sun, Aug 26, 2012 at 8:21 PM, Ned Deily <nad at acm.org> wrote:
>> > In article
>> > <CAAu18hc7katbONp7A+-A1pyE8BYySgfaC4FHHKSD8peeQjLMbg at mail.gmail.com>,
>> > Nicholas Cole <nicholas.cole at 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
It certainly does exist. Distutils will happily put packages into it,
but import won't find them.
More information about the Python-list