Error when starting python3
gr at componic.co.nz
Sun Sep 20 02:14:42 PDT 2015
On 14/09/15 22:46, Aljaž Srebrnič wrote:
>> On 14/set/2015, at 05:55, Glenn Ramsey <gr at componic.co.nz> wrote:
>> 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):
>> line 380, in register_readline
>> import rlcompleter
>> line 167, in <module>
>> AttributeError: module 'readline' has no attribute 'set_completer'
>> Do I need to install a dependency or is this a bug?
> This looks like a configuration issue on your end, it works on my machine.
> Could you post the output of:
> echo $PYTHONSTARTUP
> cat $PYTHONSTARTUP
Neither of those had any output.
I installed python 3.4, which worked OK, and then reinstalled 3.5rc4 and it
works now. It must have been some sort of configuration issue as you suggested.
Thanks for your reply.
More information about the macports-users