Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-27 Thread Jörg Kantel
Hi Larry,Am 26.07.2006 um 17:17 schrieb Larry Meyn:You can go to the folder /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages, select the PIL folder, go to the file menu and select "Get Info".  There is a section for "Ownership  Permissions" with a subsection "Details" that you may have to expand.  Here you can change the owner to your account and set access to "Read  Write" for owner and group, "Read" for others.  You will probably have to click the lock icon and enter you password to make these changes.  Do a "Get Info" on the folder again and click the button to apply permissions to folder contents.I tried it and now it works. Many thanks.I didn't have any issues either on my old machine which only has meas an admin.  However, on a new machine of mine their are two adminaccounts, mine (lmeyn) and another (macadmin).  PIL seems to getinstalled with restricted access and with access only for the otheraccount only, for example:That's maybe what happend to me. I also have had no problems to install PIL at my machines at home (with only me as admin). But here in the Institute there are at least two admins at every machine.Once again: Many thanks J"org -- J"org Kantel                [EMAIL PROTECTED]Max-Planck-Institute for the History of ScienceComputer Department        http://www.mpiwg-berlin.mpg.de/Boltzmannstr. 22                  D-14195 Berlinfon: +4930-22667-220        fax: +4930-22667-299 ___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Daniel Lord
I just tried the PIL build with the 2.5b version and it fails but the 2.4.3 version works fine...see below.My hunch is Ronald might have disabled some paths in order to keep the beta from interfering with the standard 2.4 install. Or not ;-)Ronald what say you?[[EMAIL PROTECTED]]$ python2.5Python 2.5b1 (r25b1:47038M, Jun 20 2006, 16:17:55) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwinType "help", "copyright", "credits" or "license" for more information. import ImageTraceback (most recent call last):  File "stdin", line 1, in moduleImportError: No module named Image Python 2.4.3 (#1, Apr  7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwinType "help", "copyright", "credits" or "license" for more information. import Image On Jul 26, 2006, at 4:08, Jörg Kantel wrote:Hi,today I tried to install the Python Image Library from this site http://pythonmac.org/packages/py24-fat/index.html and after the installer runs succesfully (it says) I got the following messageimport ImageImportError: No module named ImageIt happens when I'm running python from /usr/local/bin/ as well as from /usr/bin/Any suggestions?Thanks in advance (and excuse my bad (d)english)J"org -- J"org Kantel                [EMAIL PROTECTED]Max-Planck-Institute for the History of ScienceComputer Department        http://www.mpiwg-berlin.mpg.de/Boltzmannstr. 22                  D-14195 Berlinfon: +4930-22667-220        fax: +4930-22667-299 ___Pythonmac-SIG maillist  -  Pythonmac-SIG@python.orghttp://mail.python.org/mailman/listinfo/pythonmac-sig  "I have never won a debate with an ignorant person." -Ali ibn Abi Talib ___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Bob Ippolito

On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote:

 I just tried the PIL build with the 2.5b version and it fails but  
 the 2.4.3 version works fine...see below.
 My hunch is Ronald might have disabled some paths in order to keep  
 the beta from interfering with the standard 2.4 install. Or not ;-)
 Ronald what say you?

Each Python installation has its own site-packages dir. Ronald didn't  
do anything to it, that's how Python works on every platform. It has  
to be that way, extensions and bytecode aren't compatible across  
minor versions.

-bob

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Larry Meyn
For some reason the PIL seems to get installed with inappropriate  
permissions.  Changing the permissions fixes the problem.

Larry

On Jul 26, 2006, at 10:39 AM, Bob Ippolito wrote:


 On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote:

 I just tried the PIL build with the 2.5b version and it fails but
 the 2.4.3 version works fine...see below.
 My hunch is Ronald might have disabled some paths in order to keep
 the beta from interfering with the standard 2.4 install. Or not ;-)
 Ronald what say you?

 Each Python installation has its own site-packages dir. Ronald didn't
 do anything to it, that's how Python works on every platform. It has
 to be that way, extensions and bytecode aren't compatible across
 minor versions.

 -bob

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Bob Ippolito
Could you be more specific? I didn't have any issues.

-bob

On Jul 26, 2006, at 10:48 AM, Larry Meyn wrote:

 For some reason the PIL seems to get installed with inappropriate
 permissions.  Changing the permissions fixes the problem.

 Larry

 On Jul 26, 2006, at 10:39 AM, Bob Ippolito wrote:


 On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote:

 I just tried the PIL build with the 2.5b version and it fails but
 the 2.4.3 version works fine...see below.
 My hunch is Ronald might have disabled some paths in order to keep
 the beta from interfering with the standard 2.4 install. Or not ;-)
 Ronald what say you?

 Each Python installation has its own site-packages dir. Ronald didn't
 do anything to it, that's how Python works on every platform. It has
 to be that way, extensions and bytecode aren't compatible across
 minor versions.

 -bob

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Larry Meyn
I didn't have any issues either on my old machine which only has me  
as an admin.  However, on a new machine of mine their are two admin  
accounts, mine (lmeyn) and another (macadmin).  PIL seems to get  
installed with restricted access and with access only for the other  
account only, for example:


$ ls -le PIL.pth
-rw--w   1 macadmin  admin  4 Apr 19 09:23 PIL.pth

This also happened when I did an install from the PIL source using  
setup.py

Larry



On Jul 26, 2006, at 12:26 PM, Bob Ippolito wrote:

 Could you be more specific? I didn't have any issues.

 -bob

 On Jul 26, 2006, at 10:48 AM, Larry Meyn wrote:

 For some reason the PIL seems to get installed with inappropriate
 permissions.  Changing the permissions fixes the problem.

 Larry

 On Jul 26, 2006, at 10:39 AM, Bob Ippolito wrote:


 On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote:

 I just tried the PIL build with the 2.5b version and it fails but
 the 2.4.3 version works fine...see below.
 My hunch is Ronald might have disabled some paths in order to keep
 the beta from interfering with the standard 2.4 install. Or not ;-)
 Ronald what say you?

 Each Python installation has its own site-packages dir. Ronald  
 didn't
 do anything to it, that's how Python works on every platform. It has
 to be that way, extensions and bytecode aren't compatible across
 minor versions.

 -bob

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

 ___
 Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
 http://mail.python.org/mailman/listinfo/pythonmac-sig

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Daniel Lord
Bob,

Of course that makes sense. One runs each setup.py with the python  
version intended to install the package under. Apologies to Ronald-- 
not that I thought he did anything incorrectly, I was just assuming  
he might have done something to protect us. What do you know, I learn  
something new every single day.

In fact I have my 2.5 and 2.4 side-by-side so to speak and working  
quite independently it seems now that I look at it.

That's the future gentlemen. What a fascinating modern age we live in.
-- 'Lucky' Jack, Captain of HMS Surprise, Master and Commander, the  
Far Side of the World

Daniel

On Jul 26, 2006, at 10:39, Bob Ippolito wrote:


 On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote:

 I just tried the PIL build with the 2.5b version and it fails but  
 the 2.4.3 version works fine...see below.
 My hunch is Ronald might have disabled some paths in order to keep  
 the beta from interfering with the standard 2.4 install. Or not ;-)
 Ronald what say you?

 Each Python installation has its own site-packages dir. Ronald  
 didn't do anything to it, that's how Python works on every  
 platform. It has to be that way, extensions and bytecode aren't  
 compatible across minor versions.

 -bob


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Christopher Barker
Ronald Oussoren wrote:

 The binary installers on pythonmac.org won't work with 2.4.

I assume this was a typo, and you meant:

The binary installers on pythonmac.org won't work with 2.5
^^^

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/ORR/HAZMAT (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig