Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27942 > unrolled thread
| Started by | Ned Deily <nad@acm.org> |
|---|---|
| First post | 2012-08-26 12:21 -0700 |
| Last post | 2012-08-26 21:49 +0200 |
| Articles | 2 — 2 participants |
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: sys.path in python3.3 Ned Deily <nad@acm.org> - 2012-08-26 12:21 -0700
Re: sys.path in python3.3 Hans Mulder <hansmu@xs4all.nl> - 2012-08-26 21:49 +0200
| From | Ned Deily <nad@acm.org> |
|---|---|
| Date | 2012-08-26 12:21 -0700 |
| Subject | Re: sys.path in python3.3 |
| Message-ID | <mailman.3850.1346008893.4697.python-list@python.org> |
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? -- Ned Deily, nad@acm.org
[toc] | [next] | [standalone]
| From | Hans Mulder <hansmu@xs4all.nl> |
|---|---|
| Date | 2012-08-26 21:49 +0200 |
| Message-ID | <503a7db7$0$6864$e4fe514c@news2.news.xs4all.nl> |
| In reply to | #27942 |
On 26/08/12 21:21:15, Ned Deily 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? Python 3.3.0rc1 (v3.3.0rc1:8bb5c7bc46ba, Aug 25 2012, 09:42:40) [GCC 4.2.1 (Apple Inc. build 5577)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> for d in sys.path: ... print(d) ... /Library/Frameworks/Python.framework/Versions/3.3/lib/python33.zip /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3 /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/plat-darwin /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/lib-dynload /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages This is using the Python 3.3 for MacOS binary from python.org. -- HansM
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web