Calibre not working ubuntu20.04LTS

Hi,

I nave been using Calibre for a long time but when I tried it today it did not work. I tried with a terminal and got:
okk@oyo:/stack/Downloads$ calibre
Traceback (most recent call last):
File “/usr/bin/calibre”, line 20, in
sys.exit(calibre())
File “/usr/lib/calibre/calibre/gui_launch.py”, line 73, in calibre
main(args)
File “/usr/lib/calibre/calibre/gui2/main.py”, line 543, in main
listener = create_listener()
File “/usr/lib/calibre/calibre/gui2/main.py”, line 514, in create_listener
return Listener(address=gui_socket_address())
File “/usr/lib/calibre/calibre/utils/ipc/server.py”, line 110, in init
self._listener._unlink.cancel()
AttributeError: ‘NoneType’ object has no attribute ‘cancel’

I reinstalled it but nothing changed. What am I to do?

Many thanks for the help.

Thank you very much Mina, it worked.