When running simple examples the environments of sofagym, this error happens:
Exception in thread Thread-2 (dispatch):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/samuelyoussef/Documents/SOFA/Plugins/SofaGym/sofagym/rpc_server.py", line 417, in dispatch
with SimpleThreadedXMLRPCServer(('localhost', port_rpc), requestHandler=RequestHandler) as server:
File "/usr/lib/python3.10/xmlrpc/server.py", line 605, in __init__
socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)
File "/usr/lib/python3.10/socketserver.py", line 452, in __init__
self.server_bind()
File "/usr/lib/python3.10/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
When running simple examples the environments of sofagym, this error happens: