Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JoyQu opened this issue Mar 3, 2025 · 0 comments

Comments

@JoyQu
Copy link

JoyQu commented Mar 3, 2025

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

大佬是否有替代方案呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant