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

Ronald Oussoren ronaldoussoren at mac.com
Wed Jul 26 21:34:48 CEST 2006


On Jul 26, 2006, at 4:58 PM, 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?

The 2.5b2 installer is a full installer, if you install it completely  
you will interfere with the 2.4 installer. Specifically some of the  
links in /usr/local/bin are replaced, as is the Current link in the  
framework. Neither should affect the functionality of either 2.5 or  
2.4.3.

The binary installers on pythonmac.org won't work with 2.4. First of  
all they install the files in a location where only the 2.4 framework  
will look for them, and furthermore extensions (and .pyc files) are  
specific for major release (2.4 vs. 2.5) of python (formally put, the  
python team doesn't guaranty ABI compatibility between major releases).

Ronald


>
> [daniello at mercury.local]$ python2.5
> Python 2.5b1 (r25b1:47038M, Jun 20 2006, 16:17:55)
> [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Image
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: 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 darwin
> Type "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 message
>>
>> import Image
>> ImportError: No module named Image
>>
>> It 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                <kantel at mpiwg-berlin.mpg.de>
>> Max-Planck-Institute for the History of Science
>> Computer Department        <http://www.mpiwg-berlin.mpg.de/>
>> Boltzmannstr. 22                  D-14195 Berlin
>> fon: +4930-22667-220        fax: +4930-22667-299
>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://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 at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list