aio-libs / aio-libs/aiomonitor
ModuleNotFoundError: No module named 'fcntl'
- 主要语言
- Python
- 星标
- 777
- 派生
- 48
- PR 合并指标
- 30 天内没有已合并 PR
描述
### 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-traceback
python -m aiomonitor.cli
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\cli.py", line 5, in
from .telnet import TelnetClient
File "C:\Users\Wahib\Desktop\Workbench\repos\cpanel-cracker\venv\Lib\site-packages\aiomonitor\telnet.py", line 5, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'
```
### Python Version
```console
Python 3.11.0
```
### aiomonitor Version
```console
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: nickolainovik@gmail.com
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
- [X] I agree to follow the aio-libs Code of Conduct
贡献指南
评估
这个 Issue 还没有评估数据。