Instruct windows users to run on WSL or Linux instead.
Alternatively, here are some fixes to the errors:
ModuleNotFoundError: No module named 'fcntl'
Comment all fcntl lines in session_map.py and hook.py. Add pass after any empty finally: statements.
AttributeError: module 'signal' has no attribute 'SIGQUIT'
# Add try/except in main.py's _install_signal_handlers function:
try:
#for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGQUIT):
for sig in (signal.SIGINT, signal.SIGTERM, signal.SIGQUIT) if hasattr(signal, "SIGQUIT") else (signal.SIGINT, signal.SIGTERM):
loop.add_signal_handler(sig, _on_signal, sig)
except NotImplementedError:
pass # Safely pass because we are running on Windows
# print("Signal handlers not supported on this platform.")
Instruct windows users to run on WSL or Linux instead.
Alternatively, here are some fixes to the errors:
Comment all fcntl lines in session_map.py and hook.py. Add
passafter any emptyfinally:statements.