Skip to content

ModuleNotFoundError: No module named 'fcntl' #415

@TheRealMkadmi

Description

@TheRealMkadmi

Describe the bug

When running on windows: python -m aiomonitor.cli, the following exception is thrown: ModuleNotFoundError: No module named 'fcntl'

To Reproduce

python -m aiomonitor.cli on Windows

Expected behavior

Console monitor shows up.

Logs/tracebacks

python -m aiomonitor.cli
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\cli.py", line 5, in <module>
    from .telnet import TelnetClient
  File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\telnet.py", line 5, in <module>
    import fcntl
ModuleNotFoundError: No module named 'fcntl'

Python Version

Python 3.11.0

aiomonitor Version

Name: aiomonitor
Version: 0.7.1
Summary: Adds monitor and Python REPL capabilities for asyncio applications
Home-page: https://github.com/aio-libs/aiomonitor
Author: Nikolay Novik
Author-email: [email protected]
License: Apache-2.0
Location: C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages
Requires: aioconsole, aiohttp, attrs, click, janus, jinja2, prompt-toolkit, telnetlib3, terminaltables, trafaret, typing-extensions
Required-by:

OS

Windows

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions