ModuleNotFound Error: No module named 'ray.rllib.utils.atari_wrappers'
Hello Friends: I am receiving the following error ModuleNotFoundError: No module named 'ray.rllib.utils.atari_wrappers' when I try to roll out a checkpointed policy in RLLib. Can other people reproduce? (https://github.com/ray-project/ray/blob/master/doc/source/rllib-training.rst)
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS Sierra Version 10.12.6
- Ray installed from (source or binary): Binary
- Ray version: 0.5.0
- Python version: 3.6.4
- Exact command to reproduce:
python ray/python/ray/rllib/rollout.py ~/ray_results/cartpole-es/ES_CartPole-v0_0_2018-08-06_12-08-39ow7iirjw/events.out.tfevents.1533582539.vvoras-MacBook-Pro.local --run ES --env CartPole-v0
Describe the problem
Source code / logs
I also had same problem under debian:
root@debian:~/ray/python/ray/rllib# python3 train.py --help
Traceback (most recent call last):
File "train.py", line 11, in
Has anyone solved this?
You probably need to install ray from the nightly wheels. See the relevant section under https://ray.readthedocs.io/en/latest/installation.html. On Sun, Nov 11, 2018 at 1:31 PM aGiant [email protected] wrote:
I also had same problem under debian: root@debian:~/ray/python/ray/rllib# python3 train.py --help Traceback (most recent call last): File "train.py", line 11, in from ray.test.cluster_utils import Cluster ImportError: No module named 'ray.test.cluster_utils'
Has anyone solved this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ray-project/ray/issues/2578#issuecomment-437693087, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPOrSf-L3Wf1cl7bdMPdHpQ2MEbJtzfks5uuGzrgaJpZM4VxHiO .
If you’re running Ray locally as it seems, you might want to uninstall the pip version, pull from master, and rebuild. On Sun, Nov 11, 2018 at 1:19 PM Robert Nishihara [email protected] wrote:
You probably need to install ray from the nightly wheels. See the relevant section under https://ray.readthedocs.io/en/latest/installation.html. On Sun, Nov 11, 2018 at 1:31 PM aGiant [email protected] wrote:
I also had same problem under debian: root@debian:~/ray/python/ray/rllib# python3 train.py --help Traceback (most recent call last): File "train.py", line 11, in from ray.test.cluster_utils import Cluster ImportError: No module named 'ray.test.cluster_utils'
Has anyone solved this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ray-project/ray/issues/2578#issuecomment-437693087, or mute the thread < https://github.com/notifications/unsubscribe-auth/AAPOrSf-L3Wf1cl7bdMPdHpQ2MEbJtzfks5uuGzrgaJpZM4VxHiO
.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ray-project/ray/issues/2578#issuecomment-437705894, or mute the thread https://github.com/notifications/unsubscribe-auth/AEUc5cHfGWazN3WqbHhQLX3iDX6knRZIks5uuJRHgaJpZM4VxHiO .
It's solved: pip install -U [link to wheel]
Hi, I have the following error: platform linux -- Python 3.6.9, pytest-4.1.1, py-1.7.0, pluggy-0.8.1 rootdir: /home/user/project/sequential_social_dilemma_games, inifile: collected 1 item / 1 errors
================================================================================================== ERRORS ==================================================================================================
___________________________________________________________________________________ ERROR collecting tests/test_envs.py ____________________________________________________________________________________
ImportError while importing test module '/home/user/project/sequential_social_dilemma_games/tests/test_envs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_envs.py:15: in
E ModuleNotFoundError: No module named 'ray.experimental.tf_utils'
Ubuntu 18.04.4 LTS python :3.6.9 ray 0.6.1