huawei-noah / SMARTS

Scalable Multi-Agent RL Training School for Autonomous Driving

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Help Request] Why "ModuleNotFoundError: No module named 'gymnasium' "

Silkbamboo opened this issue · comments

High Level Description

when I want to run a example, the error is "ModuleNotFoundError: No module named 'gymnasium' " but I can find 'gymnasium' in '/smarts/env/gymnasium'

Version

2.0.1

Operating System

ubuntu 18.04

Problems

when I want to run a example, the error is ModuleNotFoundError: No module named 'gymnasium' but I can find 'gymnasium' in SMARTS/smarts/env/gymnasium

(.venv) root@czjvm:/home/czj/SMARTS# scl run examples/e1_egoless.py 
Traceback (most recent call last):
  File "examples/e1_egoless.py", line 4, in <module>
    import gymnasium as gym
ModuleNotFoundError: No module named 'gymnasium'
Killed

image

image

This is the same as #2152.