cnext-init error on Windows
Opened this issue · 1 comments
I'm trying run "cnext-init" on windows and I'm getting an error "No module readline"
Setup specs:
Windows 10
Python v3.9.12
Windows 10
Python v3.10
Error shows when using pip installation method at step cnext-init
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\GPPM\cnextenv\Scripts\cnext-init.exe_main.py", line 4, in
File "C:\Users\GPPM\cnextenv\lib\site-packages\cnext_server_main.py", line 18, in
readline = Readline()
File "C:\Users\GPPM\cnextenv\lib\site-packages\pyreadline\rlmain.py", line 422, in init
BaseReadline.init(self)
File "C:\Users\GPPM\cnextenv\lib\site-packages\pyreadline\rlmain.py", line 62, in init
mode.init_editing_mode(None)
File "C:\Users\GPPM\cnextenv\lib\site-packages\pyreadline\modes\emacs.py", line 633, in init_editing_mode
self._bind_key('space', self.self_insert)
File "C:\Users\GPPM\cnextenv\lib\site-packages\pyreadline\modes\basemode.py", line 162, in _bind_key
if not callable(func):
File "C:\Users\GPPM\cnextenv\lib\site-packages\pyreadline\py3k_compat.py", line 8, in callable
return isinstance(x, collections.Callable)
AttributeError: module 'collections' has no attribute 'Callable'