ray: [core/win] ray.init is hanging forever on windows (vscode)

What is the problem?

ray.init() doesn’t work. It starts and hangs forever as can be seen below:

Imgur

Ray version and other system information (Python version, TensorFlow version, OS):

ray version: 1.1.0.dev0 and 1.0.1.post1

Vs Code

Imgur

Python dependencies:

requiremets lock

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.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 6
  • Comments: 25 (9 by maintainers)

Most upvoted comments

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-project folks do not think this way…