-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Closed
Labels
bugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'ttuneTune-related issuesTune-related issues
Description
I installed tune in a Python 3.7.6 environment via pip install ray[tune]. Importing it in a program fails with:
<ipython-input-1-4384eba11eb4> in <module> [31/44]
----> 1 from ray import tune
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/__init__.py in <module>
1 from ray.tune.error import TuneError
----> 2 from ray.tune.tune import run_experiments, run
3 from ray.tune.experiment import Experiment
4 from ray.tune.analysis import ExperimentAnalysis, Analysis
5 from ray.tune.stopper import Stopper
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/tune.py in <module>
4 from ray.tune.error import TuneError
5 from ray.tune.experiment import convert_to_experiment_list, Experiment
----> 6 from ray.tune.analysis import ExperimentAnalysis
7 from ray.tune.suggest import BasicVariantGenerator
8 from ray.tune.trial import Trial
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/analysis/__init__.py in <module>
----> 1 from ray.tune.analysis.experiment_analysis import ExperimentAnalysis, Analysis
2
3 __all__ = ["ExperimentAnalysis", "Analysis"]
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/analysis/experiment_analysis.py in <module>
12 from ray.tune.result import EXPR_PROGRESS_FILE, EXPR_PARAM_FILE,\
13 CONFIG_PREFIX, TRAINING_ITERATION
---> 14 from ray.tune.trial import Trial
15 from ray.tune.trainable import TrainableUtil
16
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/trial.py in <module>
11 from ray.tune import TuneError
12 from ray.tune.checkpoint_manager import Checkpoint, CheckpointManager
---> 13 from ray.tune.durable_trainable import DurableTrainable
14 from ray.tune.logger import pretty_print, UnifiedLogger
15 # NOTE(rkn): We import ray.tune.registry here instead of importing the names we
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/durable_trainable.py in <module>
1 import os
2
----> 3 from ray.tune.trainable import Trainable, TrainableUtil
4 from ray.tune.syncer import get_cloud_sync_client
5
~/Downloads/software/miniconda3/envs/sw/lib/python3.7/site-packages/ray/tune/trainable.py in <module>
7 import os
8 import pickle
----> 9 import pandas as pd
10 from six import string_type
ModuleNotFoundError: No module named 'pandas'
This should be listed as a dependency so it installs along with the pip install, or it shouldn't be a hard dependency.
I see an earlier issue #5366 but that's closed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething that is supposed to be working; but isn'tSomething that is supposed to be working; but isn'ttuneTune-related issuesTune-related issues