Hello everyone, could you please help me?
Im trying to run the server via py examples/langserver.py but it doesn't seem to work.
First there was the following error:
Traceback (most recent call last): File "C:/Users/79204/source/Talent Lab/python-jsonrpc-server/examples/langserver_ext.py", line 5, in <module> from tornado import ioloop, process, web, websocket ModuleNotFoundError: No module named 'tornado'
So I ran this command pip install python-language-server[all] tornado and now it gives me the following error:
Traceback (most recent call last): File "examples/langserver.py", line 74, in <module> app.listen(3000, address='127.0.0.1') File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\web.py", line 2116, in listen server.listen(port, address) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 152, in listen self.add_sockets(sockets) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets self._handlers[sock.fileno()] = add_accept_handler( File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler io_loop.add_handler(sock, accept_handler, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader raise NotImplementedError NotImplementedError
I can't get it fixed since I don't know python, but I really need to set up a python language server for monaco editor :)
Looking forward for your help
Hello everyone, could you please help me? Im trying to run the server via
py examples/langserver.py
but it doesn't seem to work. First there was the following error:Traceback (most recent call last): File "C:/Users/79204/source/Talent Lab/python-jsonrpc-server/examples/langserver_ext.py", line 5, in <module> from tornado import ioloop, process, web, websocket ModuleNotFoundError: No module named 'tornado'
So I ran this command
pip install python-language-server[all] tornado
and now it gives me the following error:Traceback (most recent call last): File "examples/langserver.py", line 74, in <module> app.listen(3000, address='127.0.0.1') File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\web.py", line 2116, in listen server.listen(port, address) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 152, in listen self.add_sockets(sockets) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\tcpserver.py", line 165, in add_sockets self._handlers[sock.fileno()] = add_accept_handler( File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\netutil.py", line 279, in add_accept_handler io_loop.add_handler(sock, accept_handler, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\platform\asyncio.py", line 100, in add_handler self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ) File "C:\Users\79204\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader raise NotImplementedError NotImplementedError
I can't get it fixed since I don't know python, but I really need to set up a python language server for monaco editor :) Looking forward for your help