Skip to content

win10下运行upload时,提示ModuleNotFoundError: No module named 'fcntl' #178

@JoyQu

Description

@JoyQu

upload日志文件如下
Traceback (most recent call last):
File "H:\Programs\miniconda3\envs\bilive\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "H:\Programs\miniconda3\envs\bilive\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "I:\Software\bilive-main\src\upload\upload.py", line 11, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'

当前使用git bash
python = 3.10.12

查询了一下,fcntl这个模块似乎不能支持windows,

pip install fcntl 也是无法安装
$ pip install fcntl
ERROR: Could not find a version that satisfies the requirement fcntl (from versi
ons: none)
ERROR: No matching distribution found for fcntl

大佬是否有替代方案呢?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions