-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
add native Windows support #1252
Comments
@nan-wang @deepankarm please post your Windows running errors here |
Updated the issue accordingly. |
This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days |
RuntimeError: uvloop does not support Windows at the moment |
@yogeshhk hi, there. Thanks for your interests. The native Windows support is not there yet. You can try Jina with WSL. https://docs.jina.ai/chapters/install/os/on-wsl.html |
Describe the feature
Jina can not run on Windows natively, please add your issues/observations here. We need community help on this one.
There are several knowns issues,
uvloop
does not support Windows.uvloop
is used in jina by default for boosting the performances, but it is known in the uvloop community. windows support? MagicStack/uvloop#14.SystemLogHandler
uses TCP on unix while UDP on Windows.Your proposal
uvloop
is installed by default when runningpip install "jina[core]"
. One needs to figure out a way to avoid installuvloop
in theextra-requirements.txt
Add the logic for processing windows.
https://github.com/jina-ai/jina/blob/master/jina/logging/logger.py#L155
https://github.com/jina-ai/jina/blob/master/jina/logging/logger.py#L164
Need more time to look into the issue.
Environment
jina 0.7.5 jina-proto 0.0.75 jina-vcs-tag (unset) libzmq 4.3.2 pyzmq 1.18.1 protobuf 3.13.0 proto-backend cpp grpcio 1.27.2 ruamel.yaml 0.16.10 python 3.7.5 platform Darwin platform-release 19.5.0 platform-version Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 architecture x86_64 processor i386 jina-resources /Users/nanwang/Codes/jina-ai/jina/jina/resources JINA_ARRAY_QUANT (unset) JINA_BINARY_DELIMITER (unset) JINA_CONTRIB_MODULE (unset) JINA_CONTRIB_MODULE_IS_LOADING(unset) JINA_CONTROL_PORT (unset) JINA_DB_COLLECTION (unset) JINA_DB_HOSTNAME (unset) JINA_DB_NAME (unset) JINA_DB_PASSWORD (unset) JINA_DB_USERNAME (unset) JINA_DEFAULT_HOST (unset) JINA_DISABLE_UVLOOP (unset) JINA_EXECUTOR_WORKDIR (unset) JINA_FULL_CLI (unset) JINA_IPC_SOCK_TMP (unset) JINA_LOG_CONFIG (unset) JINA_LOG_NO_COLOR (unset) JINA_POD_NAME (unset) JINA_PROFILING (unset) JINA_RANDOM_PORTS (unset) JINA_SOCKET_HWM (unset) JINA_TEST_GPU (unset) JINA_TEST_PRETRAINED (unset) JINA_VCS_VERSION (unset) JINA_WARN_UNNAMED (unset)
Screenshots
The text was updated successfully, but these errors were encountered: