Skip to content

fcntl 是 Linux/Mac 专用的模块,Windows 上没有。WINDOWS not work #2

Description

@h6rime

python entry/main.py
Exception in thread Thread-1 (_start_server):
Traceback (most recent call last):
File "D:\miniforge3\Lib\threading.py", line 1044, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "xxx\Lib\threading.py", line 995, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "xxx\Browser-BC-master\entry\main.py", line 86, in _start_server
from server import app, _ensure_dirs, _load_api_keys # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "xxx\Browser-BC-master\server\server.py", line 29, in
import fcntl
ModuleNotFoundError: No module named 'fcntl'
[entry] ERROR: server did not start on http://127.0.0.1:8099/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions