Having trouble with python readline

Scott Webster sewebster at gmail.com
Fri Feb 8 23:17:35 PST 2013


I have python25 and py25-readline installed.  python25 is set to be default
with port select.  But I can't import readline.  Am I missing something
simple here?

Thanks for any advice!


swim:~ swebster$ port installed python25 py25-readline
The following ports are currently installed:
  py25-readline @6.2.2_0 (active)
  python25 @2.5.6_4 (active)
swim:~ swebster$ port select --show python
The currently selected version for 'python' is 'python25'.
swim:~ swebster$ python
Python 2.5.6 (r256:88840, Nov 18 2012, 05:37:10)
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on
darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import readline
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named readline
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130208/b4c80ebb/attachment.html>


More information about the macports-users mailing list