Skip to content

Windows support #136

Description

@jaggedsoft

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.")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions