473,473 Members | 2,282 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to install PIL on Mac OS 10.5.8?

1 New Member
Hello all,

I'm new to python and Macs in general, and I'm having a heck of a time installing PIL (or getting Python to recognize it). First some background (not sure how much of this will be pertinent):

I'm using OS 10.5.8. In installing python I may have botched things up from the start since I didn't know what I was doing. OS 10.5.8 comes with some version of python (2.5 I think?) but everyone recommends updating so I installed 2.7. Unfortunately when I tried to install numpy and scipy I found that this is not possible on 2.7 without a significant amount of rigamarole. So I've downloaded 2.6.6 and now have three versions of python. 2.6.6 is the default one in bash. I'm also fairly certain I have some kind of a fortran compiler because once upon a time I did compile a single piece of fortran code, however I'm not sure if it's setup correctly.

I'm now trying to install PIL 1.1.7, following the instructions in the readme. When I type
Expand|Select|Wrap|Line Numbers
  1. python setup.py install
the installation seems to start and I get a whole bunch of troubling messages.
Here's a sampling of them:
Expand|Select|Wrap|Line Numbers
  1. /usr/include/architecture/ppc/math.h:675: warning: conflicting types for built-in function 'scalb'
  2. _imaging.c:2907: warning: initialization from incompatible pointer type
it concludes with the following:
Expand|Select|Wrap|Line Numbers
  1. ld warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
  2. ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.1.dylib, missing required architecture ppc in file for architecture ppc
  3. collect2: ld returned 1 exit status
  4. lip: can't open input file: /car/folders/-0/-0LrikNVFoq8-dU1w90elIE+++TI/-Tmp-//ccLF4Kkn.out (No such file or directory)
  5. error: command 'gcc-4.0' failed with exit status 1
I've tried following the suggestions in the readme of trying to make sure i have necessary libraries and installing stuff with fink, but to no avail. I have a feeling numerous things are messed up: compilers, file locations, bash file, etc. what's the easiest way to get things going? I'm definitely willing to reinstall python, edit my bash, whatever needs to be done to get things going. The caveat is of course that I could really use detailed directions of how to do these things.

Your time and advice is much appreciated!
Jan 7 '11 #1
0 1089

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
1
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. #...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
12
by: Matt Fielder | last post by:
I tried to install SP1, and it appears to have just stopped somewhere part way through. It was "collecting information" (for a long time, slow progress bar) --- then suddenly it stopped.... no...
5
by: Ajith Menon | last post by:
I have to install .NET framework 3.0. I already have .NET Framework 1.1 installed on my machine. I don't want to remove framework 1.1 since some of the critical applications are using it. While...
3
by: Jason Madison | last post by:
My SP1 install seemed to want to keep repeating the install. I spent 4 hours running the install, then it ran again (I got the message up saying it had finished, then it started again). I didn't...
1
by: Sorin Schwimmer | last post by:
Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and...
1
by: =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post by:
Hi all, This is something that I have been toying with for about a week now. What I want to achieve is Install a Service with Customised parameters (using InstallUtil.exe) for User Name. Example...
3
by: Jean-Marc Blaise | last post by:
Hi, I've been trying for 2 hours to install in silent mode a DB2 9 runtime client. Why didn't you make this process as simple as for the CLIENT install ? It is not the same setup command, you...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.