Cannot easy_install readline for Python 2.7.3 on Mac Os Lion

Posted by user11170 on Stack Overflow See other posts from Stack Overflow or by user11170
Published on 2012-06-07T04:04:04Z Indexed on 2012/06/07 4:40 UTC
Read the original article Hit count: 329

Filed under:
|
|
|

I am trying to install readline for python 2.7.3 installed via homebrew. If I type

easy_install readline

I get

Downloading http://pypi.python.org/packages/source/r/readline/readline-6.2.2.tar.gz#md5=ad9d4a5a3af37d31daf36ea917b08c77
Processing readline-6.2.2.tar.gz
Writing /var/folders/44/dhrdb5sx53s243j4w03063vh0000gn/T/easy_install-64FbG8/readline-6.2.2/setup.cfg
Running readline-6.2.2/setup.py -q bdist_egg --dist-dir /var/folders/44/dhrdb5sx53s243j4w03063vh0000gn/T/easy_install-64FbG8/readline-6.2.2/egg-dist-tmp-NOmStB
clang: error: no such file or directory: 'readline/libreadline.a'
clang: error: no such file or directory: 'readline/libhistory.a'
error: Setup script exited with error: command '/usr/bin/clang' failed with exit status 1

Any ideas about how I could fix this ?

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about osx-lion