FAQ
Hello,

I haven't fully understood the nuances in the difference between
Apple's system Python and MacPython. But I have just installed Python
2.6.4 from python.org. Now I'm trying to install a fresh downloaded
PIL 1.1.6 but couldn't.
python setup.py install gives:
lipo: can't open input file: /var/tmp//ccfwpQd6.out (No such file or
directory)
Everything worked fine on Apple's Python 2.6.1

Search Discussions

  • Ned Deily at Dec 1, 2009 at 7:35 pm
    In article
    <785f1942-6aec-4a5a-934a-8db50648b1ae at e22g2000vbm.googlegroups.com>,
    Xiao wrote:
    I haven't fully understood the nuances in the difference between
    Apple's system Python and MacPython. But I have just installed Python
    2.6.4 from python.org. Now I'm trying to install a fresh downloaded
    PIL 1.1.6 but couldn't.
    python setup.py install gives:
    lipo: can't open input file: /var/tmp//ccfwpQd6.out (No such file or
    directory)
    Everything worked fine on Apple's Python 2.6.1
    Building PIL on OS X is annoyingly non-trivial and this subject is one
    that comes up frequently on the Mac python list
    (http://dir.gmane.org/gmane.comp.python.apple); you may want to search
    the archives or ask further questions there. Typically, the problem is
    that PIL depends on some libraries that do not ship with OS X and you
    need to provide them in the proper architectures to satisfy the python
    build you are using.

    The easiest approach is to use a complete solution from MacPorts since
    it includes PIL and python2.6 ports:

    $ sudo port py26-pil

    will pull in and build everything including a new python2.6. If you'd
    rather not do that, you can use MacPorts or Fink to build the necessary
    libraries. Another approach that should work (but I haven't tested on
    10.6) is to install the UnixImageIO and FreeType frameworks from here:

    http://www.kyngchaos.com/software:frameworks

    --
    Ned Deily,
    nad at acm.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedNov 30, '09 at 10:58p
activeDec 1, '09 at 7:35p
posts2
users2
websitepython.org

2 users in discussion

Xiao: 1 post Ned Deily: 1 post

People

Translate

site design / logo © 2023 Grokbase