raise grpc.FutureTimeoutError() grpc.FutureTimeoutError
See original GitHub issuefollowed instruction from readme below
$ git clone https://github.com/deepmind/dm_alchemy.git
$ pip install wheel
$ pip install --upgrade setuptools
$ pip install ./dm_alchemy
$ pip install pygame
and then try to run human_agent.py using below command getting error
python human_agent.py --seed 123 --level_name 'alchemy/perceptual_mapping_randomized_with_rotation_and_random_bottleneck'
pygame 2.0.1 (SDL 2.0.14, Python 3.7.4)
Hello from the pygame community. https://www.pygame.org/contribute.html
I0212 16:02:42.783728 140172242384704 _load_environment.py:377] Downloading docker image "gcr.io/deepmind-environments/alchemy:v1.0.0"...
I0212 16:03:59.853875 140172242384704 _load_environment.py:379] Download finished.
Traceback (most recent call last):
File "human_agent.py", line 186, in <module>
app.run(main)
File "/home/venv/lib/python3.7/site-packages/absl/app.py", line 303, in run
_run_main(main, args)
File "/home/venv/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "human_agent.py", line 117, in main
environment_variables=environment_variables) as env:
File "/home/venv/lib/python3.7/site-packages/dm_alchemy/_load_environment.py", line 389, in load_from_docker
connection_details=_connect_to_environment(port, settings),
File "/home/venv/lib/python3.7/site-packages/dm_alchemy/_load_environment.py", line 246, in _connect_to_environment
channel, connection = _create_channel_and_connection(port)
File "/home/venv/lib/python3.7/site-packages/dm_alchemy/_load_environment.py", line 204, in _create_channel_and_connection
_check_grpc_channel_ready(channel)
File "/home/venv/lib/python3.7/site-packages/dm_alchemy/_load_environment.py", line 183, in _check_grpc_channel_ready
return grpc.channel_ready_future(channel).result(timeout=1)
File "/home/venv/lib/python3.7/site-packages/grpc/_utilities.py", line 140, in result
self._block(timeout)
File "/home/venv/lib/python3.7/site-packages/grpc/_utilities.py", line 86, in _block
raise grpc.FutureTimeoutError()
grpc.FutureTimeoutError
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
python - why is grpc.FutureTimeoutError not an instance of ...
grpc.FutureTimeoutError is the exception raised when a grpc.Future.result or grpc.Future.exception exceeds deadline but haven't got any ...
Read more >Python grpc.FutureTimeoutError() Examples
This page shows Python examples of grpc.FutureTimeoutError.
Read more >gRPC Python 1.46.2 documentation
Typically, this object is an argument to add_secure_port() method during ... FutureTimeoutError – If a timeout value is passed and the computation does...
Read more >Google Git
"""Internal utilities for gRPC Python.""" ... from grpc import _common # pytype: disable=pyi-error. from grpc. ... raise grpc.FutureTimeoutError().
Read more >grpc.channel_ready_future throw inactive rpc error
with grpc.insecure_channel('192.168.0.176:1234') as channel: grpc.channel_ready_future(channel).start() except grpc.FutureTimeoutError:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, my mistake, that command should have been
docker run -d gcr.io/deepmind-environments/alchemy:v1.0.0
unfortunately on windows, I run into the same error trace trying to run human_agent.py:
the command that is mentioned above does not seem to help. Running
in the
AlchemyGettingStarted.ipynb
gives the same error. The setup is as written in the guide and uses Docker Desktop (except that I don’t use a Python virtual environment).docker run -d gcr.io/deepmind-environments/alchemy:v1.0.0
gives no error.Shall I open a new issue? While you officially don’t support windows maybe you can still help me?