Installing Python Apps on Mac Lion

J

JKPeck

The Lion version of the OS on the Mac comes with Python 2.7 installed, but it is in /System/Library/Frameworks/..., and this area is not writable by third party apps.

So is there a consensus on what apps that typically install under the Python site-packages directory should do in this situation? Installing Python from python.org puts it in the writable area /Library/Frameworks/Python.framework.

So, what should a Python app installer do?

Thanks
 
N

Ned Deily

<2ffee45b-8987-4fb4-8c8b-c1eed728e890@glegroupsg2000goo.googlegroups.com
JKPeck said:
The Lion version of the OS on the Mac comes with Python 2.7 installed, but it
is in /System/Library/Frameworks/..., and this area is not writable by third
party apps.

So is there a consensus on what apps that typically install under the Python
site-packages directory should do in this situation? Installing Python from
python.org puts it in the writable area /Library/Frameworks/Python.framework.

So, what should a Python app installer do?

I don't know about Lion but the Apple-supplied Pythons in previous
versions of OS X (10.6 and 10.5) install site packages by default into
/Library/Python. If you use the Distutils defaults with the system
Pythons in10.7, they will likely do the same.
 
D

dilvanezanardine

Sábado, 25 de Junho de 2011 02h20min49s UTC+1, JKPeck escreveu:
The Lion version of the OS on the Mac comes with Python 2.7 installed, but it is in /System/Library/Frameworks/..., and this area is not writable bythird party apps.

So is there a consensus on what apps that typically install under the Python site-packages directory should do in this situation? Installing Pythonfrom python.org puts it in the writable area /Library/Frameworks/Python.framework.

So, what should a Python app installer do?

Thanks

Hello,

currently I have:

/Library/Python/2.7/
/Library/Frameworks/Python.framework/Versions/2.7/
/Users/user/Library/Python/2.7/

With 3 folders "site-packages" and do not know why.
What's the difference?

Thanks.
 
B

Benjamin Kaplan

Sábado, 25 de Junho de 2011 02h20min49s UTC+1, JKPeck escreveu:

Hello,

currently I have:

/Library/Python/2.7/
/Library/Frameworks/Python.framework/Versions/2.7/
/Users/user/Library/Python/2.7/

With 3 folders "site-packages" and do not know why.
What's the difference?

Thanks.

If I had to take a guess, having not played too much with Lion:

/Library/Python/2.7 is for user-installed packages for the system
python that are installed for all users.
/Library/Frameworks/... is for the user-installed Python (that's where
it's always gone)
/Users/user/Library... is for user-installed packages for the system
Python that are only installed for the specific user.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top