question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ray.init` on WSL does not work

See original GitHub issue

What is the problem?

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

This was reported in Modin. See discussion here: https://discuss.modin.org/t/problem-when-running-code-with-modin-1-time/90/2

This is related to, but not the same as #3059. See logs below

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):

import ray
ray.init()

Logs below:

2020-01-23 14:09:01,315 INFO resource_spec.py:216 – Starting Ray with 30.32 GiB memory available for workers and up to 15.16 GiB for objects. You can adjust these settings with ray.init(memory=, object_store_memory=).
F0123 14:09:07.020850 1052 redis_context.cc:215] Could not establish connection to redis 10.46.89.57:57714 (context.err = 1)
*** Check failure stack trace: ***
@ 0x7f9b27d3f98d (unknown)
@ 0x7f9b27d40dfc (unknown)

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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:30 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
ninafionacommented, Jan 23, 2020

I have the same problem, it’s working on linux, but I get the error on my WSL.

0reactions
jlarsen-usgscommented, Nov 30, 2021

@johanbrunius

1.0.1.post1 works on WSL with my version of windows (19042.1288).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ray init() very slow - Ray
Hello, I am new at using Ray, I find it wonderful, I had to divest from multiprocessing because it was not working optimally...
Read more >
Problem when running code with modin 1° time - Errors/Issues
All I did was to try to impor modin and ray. All installed as the git page instructed. I´m running my code on...
Read more >
Ray init() is very slow - python - Stack Overflow
13s to run ray.init(). I noticed that import resource in worker.py fails. Not sure if it is relevant. Then later in the code,...
Read more >
Release 0.17.1+0.g7f801adc.dirty Modin contributors
If you don't have Ray or Dask installed, you will need to install ... and initialize your preferred engine before you start working....
Read more >
Freeze on opening project from WSL2 : IDEA-273398
After re-run the same things happen. Deleting .idea folder and restarting wsl didn't help. The problem was solved only by renaming project, so...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found