In article <CAKCKLWxR4Ubyh4sQJoyuan7=jfdzx62trafvhenc6udpuec...@mail.gmail.com>, Michael Foord <fuzzy...@gmail.com> wrote: > I've installed Python on OS X Lion on two computers - one with Lion > preinstalled and one upgraded from Snow Leopard. I used both Python.org and > Activestate installers. > > In all cases (I'm pretty sure) the installation required elevation and the > installed Python was 'owned' by root - meaning any changes (e.g. > installation into site-packages) must be sudo'd. > > This is a change from previous versions of OS X. Is this known, and is it an > issue? (I chown'd everything back to me to get round it.)
I can't speak to the ActiveState installer but for the python.org installers installation has always required a username with administrator privilege. That hasn't changed in Lion. And, even though owned by root, when logged in via an admin username, you should be able to install packages to its default location (using python setup.py or easy_install or pip) without sudo. The default site-packages directory for python.org installations is: cd /Library/Frameworks/Python.framework/Versions/x.y/ ls ./lib/pythonx.y/site-packages ls ./bin # for scripts If you are using easy_install, make sure you aren't using the Apple-supplied easy_installs in /usr/bin which are for the system Pythons (2.7, 2.6, and 2.5 in OS X 10.7). They will, by default, attempt to install into /Library/Python/2.y and /usr/local/bin for scripts and that *does* need sudo. -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG