Skip to content

报错 python -m metagym.quadrotor.env hovering_control #56

@qa6300525

Description

@qa6300525

python -m metagym.quadrotor.env hovering_control

/Users/chengmaoyu/anaconda3/envs/rl-3.9/lib/python3.9/runpy.py:127: RuntimeWarning: 'metagym.quadrotor.env' found in sys.modules after import of package 'metagym.quadrotor', but prior to execution of 'metagym.quadrotor.env'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
Traceback (most recent call last):
File "/Users/chengmaoyu/anaconda3/envs/rl-3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/chengmaoyu/anaconda3/envs/rl-3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/chengmaoyu/code/test/rl/MetaGym/metagym/quadrotor/env.py", line 317, in
env.render()
File "/Users/chengmaoyu/code/test/rl/MetaGym/metagym/quadrotor/env.py", line 172, in render
raise RuntimeError('[Error] Cannot connect to display screen.')
RuntimeError: [Error] Cannot connect to display screen.

版本信息
gym 0.23.1
gym-notices 0.0.6
metagym 0.1.0
numpy 1.22.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions