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

ModuleNotFoundError: No module named 'fcntl' #1

Closed
expertdicer opened this issue Sep 15, 2020 · 3 comments
Closed

ModuleNotFoundError: No module named 'fcntl' #1

expertdicer opened this issue Sep 15, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@expertdicer
Copy link

when running "mlchain run " i got this message. Can someone help ?
Capture

@lamhoangtung lamhoangtung self-assigned this Sep 15, 2020
@lamhoangtung lamhoangtung added the bug Something isn't working label Sep 15, 2020
@lamhoangtung
Copy link
Contributor

lamhoangtung commented Sep 15, 2020

@expertdicer Thanks for the bug report. Since fnctl is not supported in Windows. You have 2 option to avoid this problem:

  1. Use Linux or WSL on Windows
  2. Since fnctl was a gunicorn dependencies, don't use gunicorn warper when running on a Windows machine will solve the problem. To turn off gunicorn warper. Change the warper config in the mlconfig.yaml file to None:

wrapper: gunicorn # option None or gunicorn or hypercorn

@expertdicer
Copy link
Author

@expertdicer Thanks for the bug report. Since fnctl is not supported in Windows. You have 2 option to avoid this problem:

  1. Use Linux or WSL on Windows
  2. Since fnctl was a gunircorn dependencies, don't use gunicorn warper when running on a Windows machine will solve the problem. To turn off gunicorn warper. Change the warper config in the mlconfig.yaml file to None:

wrapper: gunicorn # option None or gunicorn or hypercorn

@expertdicer
Copy link
Author

@expertdicer Thanks for the bug report. Since fnctl is not supported in Windows. You have 2 option to avoid this problem:

  1. Use Linux or WSL on Windows
  2. Since fnctl was a gunicorn dependencies, don't use gunicorn warper when running on a Windows machine will solve the problem. To turn off gunicorn warper. Change the warper config in the mlconfig.yaml file to None:

wrapper: gunicorn # option None or gunicorn or hypercorn

Thanks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants