Repository navigation
[BUG] ImportError: No module named 'fcntl' on Windows in model_discovery.py #2351
ReyanshAgrawal
started this conversation in
General
Replies: 1 comment
|
Sidenote: I listed how to fix this bug for yourself at home till the devs fix it. It probably looks quite dirty, so if you prefer a tidier version, continue reading. model_discovery.py |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Pre-check
Description
The module fcntl being used in the code is a POSIX-only module. Upon running the current PrivateGPT version on Windows, after running
private-gpt serve, and opening http://localhost:8080, the server crashes because in a particular file, the code tries to import fcntlSteps to Reproduce
Windows
Windows (PowerShell)
All reactions