Error when starting python3

Glenn Ramsey gr at componic.co.nz
Sun Sep 13 20:55:24 PDT 2015


Hi All,

I get this error when starting python3:

$ python3
Python 3.5.0rc4 (default, Sep 14 2015, 13:58:59)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site.py",
line 380, in register_readline
    import rlcompleter
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/rlcompleter.py",
line 167, in <module>
    readline.set_completer(Completer().complete)
AttributeError: module 'readline' has no attribute 'set_completer'

Do I need to install a dependency or is this a bug?

Glenn


More information about the macports-users mailing list