[core/win] ray.init is hanging forever on windows (vscode)
See original GitHub issueWhat is the problem?
ray.init() doesn’t work. It starts and hangs forever as can be seen below:

Ray version and other system information (Python version, TensorFlow version, OS):
ray version: 1.1.0.dev0 and 1.0.1.post1
Vs Code

Python dependencies:
Reproduction (REQUIRED)
Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):
Originally discovered by using tune_sklearn, then smallest instructions to reproduce were found by @richardliaw . More information can be found here.
Problem reproduction
import ray
ray.init()
If we cannot run your script, we cannot fix your issue.
- [✔️] I have verified my script runs in a clean environment and reproduces the issue.
- [✔️] I have verified the issue also occurs with the latest wheels.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:25 (9 by maintainers)
Top Results From Across the Web
[Core] Ray.init() hanging
Hello, I have a training script that runs well locally on my machine, but not always when I deploy it on an online...
Read more >Ray init() is very slow - python - Stack Overflow
I noticed that import resource in worker.py fails. Not sure if it is relevant. Looks like it is a normal failure for Windows....
Read more >Untitled
Diviseur de 841, Ms university baroda girls hostel, Volumeid windows 2008, ... Priyanjana ghosh, Ray prasetya yang sekarang, Shizuku whisper of the heart, ......
Read more >cookie run thailand - CSDN
Built using nodejs and vuejs2; vuejs-extension-pack vscode - An extension packf or vscode with popular VS Code extensions for Vue.js development.
Read more >enigmatic - OSCHINA - 中文开源技术交流社区
奉献 25 个最酷的 Windows 8 墙纸 ... ie: <PrimaryButton>Text</PrimaryButton> Recommended VS Code Plugin: vscode-styled-components To install: Open VS Code ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Neither here or at the duplicate issue https://github.com/ray-project/ray/issues/13794, a solution was developed as of now. In my understanding the ability to isolate concerns and environment is paramount. Maybe
ray-projectfolks do not think this way…I am closing this, since we did not get any response after #25806 was merged. Please open a new issue if this returns, with a complete reproducer.