Skip to content

OSError: [WinError 6] when using inquirer on python3.8 #78

@RawWinter

Description

@RawWinter

Every time a call a function from inquirer I get the following error:

Cancelling an overlapped future failed
future: <_OverlappedFuture pending overlapped=<pending, 0x3dcae98> cb=[BaseProactorEventLoop._loop_self_reading()]>
Traceback (most recent call last):
  File "C:\Program Files (x86)\Python38-32\lib\asyncio\windows_events.py", line 66, in _cancel_overlapped
    self._ov.cancel()
OSError: [WinError 6] The handle is invalid

This is the basic code to replicate the problem:

from InquirerPy import inquirer

inquirer.select(message="This is a test", choices=["a", "b"]).execute()

I am running python3.8 on Windows11

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