开发者

Errors Installing PIL on Mac OS Tiger

开发者 https://www.devze.com 2023-01-01 20:34 出处:网络
I\'m trying to install the Python Imaging Library on Mac OS X 10.4, but I get errors. I\'m not sure where the error starts, it\'s just a huge wall of text when executing sudo python setup.py install.

I'm trying to install the Python Imaging Library on Mac OS X 10.4, but I get errors. I'm not sure where the error starts, it's just a huge wall of text when executing sudo python setup.py install.

But the last few lines are:

...
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccNKvQpP.out (No such file or directory)
error: command 'gcc' failed with exit status 1

I've googled, but none of the re开发者_JS百科sults are working.


It is a good idea to install the Fink package manager, if you have not yet done so: you have a single point entry to many open-source packages; they have been configured to as to be precisely adapted to Mac OS X.

Once you have installed Fink, a simple

fink install pil

will do.

If there is any package not in Fink that you wish to install, make sure to follow their advice on what environment variables should be defined. This way, you'll have less trouble compiling more recent versions of some packages, etc., in case you need them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号