unable to resolve readline issues
biglee12672 at gmail.com
biglee12672 at gmail.com
Fri Dec 2 17:38:03 EST 2022
Dear Sir:
For whatever reason I have lost functionality of using Python 3.11. While
opening Python (standalone or from CMD prompt) as usual this AM the
following message appeared. Did read that it is not compatible with
Windows but I can't get it to work as I don't know what module will load.
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
Failed calling sys.__interactivehook__
Traceback (most recent call last):
File "<frozen site>", line 445, in register_readline
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\re
adline.py", line 34, in <module>
rl = Readline()
^^^^^^^^^^
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\py
readline\rlmain.py", line 422, in __init__
BaseReadline.__init__(self)
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\py
readline\rlmain.py", line 62, in __init__
mode.init_editing_mode(None)
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\py
readline\modes\emacs.py", line 633, in init_editing_mode
self._bind_key('space', self.self_insert)
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\py
readline\modes\basemode.py", line 162, in _bind_key
if not callable(func):
^^^^^^^^^^^^^^
File
"C:\Users\bigle\AppData\Local\Programs\Python\Python311\Lib\site-packages\py
readline\py3k_compat.py", line 8, in callable
return isinstance(x, collections.Callable)rer
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Callable'
>From this point on Python became unusable as I uninstalled rebooted then
reinstalled to find I have the same issues as stated. Finally uninstalled
Python as it doesn't perform as usual especially trying to understand the
use of pyreadline, gnureadline and or just readline.
If you can help great.
Regards,
Leon Pearlman
More information about the Python-list
mailing list