-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[Ray 1.8] "ray memory" fails with "No module named 'aiohttp.signals'" #20681
Comments
Also having this issue but for doing ray.init(include_dashboard=True) which eventually trips this 1199: # Make sure the process can start.
1200: try:
1201: import ray.dashboard.optional_deps # noqa: F401
1202: except ImportError:
1203: if require_dashboard:
1204: raise ImportError(DASHBOARD_DEPENDENCY_ERROR_MESSAGE)
1205: else:
1206: return None, None ... Meanwhile, doing The reason I know it's the >>> import ray.dashboard.optional_deps # noqa: F401
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/austin/anaconda3/envs/moto/lib/python3.9/site-packages/ray/dashboard/optional_deps.py", line 8, in <module>
import aiohttp.signals
ModuleNotFoundError: No module named 'aiohttp.signals'
>>> Same version of |
It appears that the issue also involves any import aiohttp.frozenlist That was discovered by commenting out the I was able to |
This is a known problem that is fixed in the Ray master in #20261. In the current Ray release you can pin |
@pcmoritz Thank you, worked exactly as you said it did. |
@ericl looks this is fixed? |
pip install aiohttp==3.7.4 |
Search before asking
Ray Component
Ray Core
What happened + What you expected to happen
Hi Ray team,
I can run most
ray
commands likeray status
andray timeline
but when I tryray memory
I get the following error:I manually imported the code on my Python shell and while
import aiohttp
works,import aiohttp.signals
doesn't work. On the aio-libs page somebody reported the same issue here, so this is a problem on their side, really. But it seems they are not following their own deprecation process and that means the signals module is not available. Is there a way to fix Ray so I can use the memory utility?Thanks,
Pedro
Versions / Dependencies
Reproduction script
Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: