gpt4 book ai didi

python - ModuleNotFoundError : No module named 'fcntl'

转载 作者:行者123 更新时间:2023-12-03 13:52:44 26 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





Does Gunicorn run on Windows

(6 个回答)


去年关闭。




使用 gunicorn 运行 flask 应用程序

$ pip install gunicorn
$ gunicorn --bind 0.0.0.0:8000 app:app
出现错误

Traceback (most recent call last):File "C:\Users\shubham\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 193, in _run_module_as_main"main", mod_spec)File "C:\Users\shubham\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in run_codeexec(code, run_globals)File "C:\Users\shubham\Desktop\Full_stack_developer\venv\Scripts\gunicorn.exe_main.py", line 5, in File "c:\users\shubham\desktop\full_stack_developer\venv\lib\site-packages\gunicorn\app\wsgiapp.py", line 9, in from gunicorn.app.base import ApplicationFile "c:\users\shubham\desktop\full_stack_developer\venv\lib\site-packages\gunicorn\app\base.py", line 11, in from gunicorn import utilFile "c:\users\shubham\desktop\full_stack_developer\venv\lib\site-packages\gunicorn\util.py", line 9, in import fcntlModuleNotFoundError: No module named 'fcntl'

最佳答案

模块 fctnl 在 Windows 系统上不可用

关于python - ModuleNotFoundError : No module named 'fcntl' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62788628/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com