You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the inclusion of this line, which assumes pyarrow imported successfully.
Versions / Dependencies
python: 3.8.10
os: Ubuntu 20.04.5
ray: 2.6.0
Reproduction script
Create a virtualenv
pip install ray==2.6.0
Start a python3 interactive interpreter
import ray (works)
from ray import tune (fails)
Python 3.8.10 (default, May 26 2023, 14:05:08) [GCC 9.4.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import ray>>> from ray import tuneTraceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/me/.virtualenvs/test_ray/lib/python3.8/site-packages/ray/tune/__init__.py", line 2, in <module> from ray.tune.tune import run_experiments, run File "/home/me/.virtualenvs/test_ray/lib/python3.8/site-packages/ray/tune/tune.py", line 27, in <module> from ray.air import CheckpointConfig File "/home/me/.virtualenvs/test_ray/lib/python3.8/site-packages/ray/air/__init__.py", line 1, in <module> from ray.air.checkpoint import Checkpoint File "/home/me/.virtualenvs/test_ray/lib/python3.8/site-packages/ray/air/checkpoint.py", line 22, in <module> from ray.air._internal.remote_storage import ( File "/home/me/.virtualenvs/test_ray/lib/python3.8/site-packages/ray/air/_internal/remote_storage.py", line 142, in <module> _cached_fs: Dict[tuple, Tuple[float, pyarrow.fs.FileSystem]] = {}AttributeError: 'NoneType' object has no attribute 'fs'
Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered:
pclay614
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Jul 21, 2023
cc @matthewdeng@pcmoritz@justinvyu we probably want to include a warning message that informs user that they should rerun pip install ray[tune] or ray[air].
What happened + What you expected to happen
Importing tune from ray should work and not fail.
This is due to the inclusion of this line, which assumes pyarrow imported successfully.
Versions / Dependencies
python: 3.8.10
os: Ubuntu 20.04.5
ray: 2.6.0
Reproduction script
pip install ray==2.6.0
import ray
(works)from ray import tune
(fails)Issue Severity
Medium: It is a significant difficulty but I can work around it.
The text was updated successfully, but these errors were encountered: