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
$ python -m compiler_gym.bin.service --ls_env this command could be run
but when I run this command python -m compiler_gym.bin.service --env=llvm-v0, such errors are reported, and I couldn't enter a compiler_gym shell.
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/rain/anaconda3/lib/python3.11/site-packages/compiler_gym/bin/service.py", line 240, in <module>
app.run(main)
File "/home/rain/anaconda3/lib/python3.11/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/rain/anaconda3/lib/python3.11/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
^^^^^^^^^^
File "/home/rain/anaconda3/lib/python3.11/site-packages/compiler_gym/bin/service.py", line 232, in main
env = env_from_flags()
^^^^^^^^^^^^^^^^
File "/home/rain/anaconda3/lib/python3.11/site-packages/compiler_gym/util/flags/env_from_flags.py", line 115, in env_from_flags
env = gym.make(
^^^^^^^^^
File "/home/rain/anaconda3/lib/python3.11/site-packages/gym/envs/registration.py", line 669, in make
env = PassiveEnvChecker(env)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/rain/anaconda3/lib/python3.11/site-packages/gym/wrappers/env_checker.py", line 27, in __init__
check_observation_space(env.observation_space)
File "/home/rain/anaconda3/lib/python3.11/site-packages/gym/utils/passive_env_checker.py", line 74, in check_space
raise AssertionError(
AssertionError: observation space does not inherit from `gym.spaces.Space`, actual type: <class 'NoneType'>
The text was updated successfully, but these errors were encountered:
$ python -m compiler_gym.bin.service --ls_env
this command could be runbut when I run this command
python -m compiler_gym.bin.service --env=llvm-v0
, such errors are reported, and I couldn't enter a compiler_gym shell.The text was updated successfully, but these errors were encountered: