开发者

pip installing ipython with readline on OSX Lion

What is required to get ipython fully functional on OSX Lion? I'm trying to get ipython with readline working and having no success.

My approach:

(inside a virtual environment)

pip install ipython # runs, but only slightly useful because can't indent blocks pip install readline

The second completes with warnings and eventually says "Successfully installed readline" But I'm still left without the ability to indent blocks and going back in the command history leads to garbled terminal output.

I suspect these warnings are critical, but I'm at a loss about what to do about them.

ld: warning: ignoring file readline/libreadline.a, file was built for archive which is not the architecture being linked (i386)

ld: warning: ignoring file readline/libhistory.a, file was built for archive which is not the architec开发者_JAVA百科ture being linked (i386)

(I've spent the morning googling the errors, to no avail)

tia,


I've had the same issue and for some reason only the version of readline installed via easy_install readline works fine.


1) Upgraded to latest Mac OS X dev tools

2) Installed Distribute

3) pip install ipython

4) pip install readline

Thanks to this article.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜