Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpe gym.error #28

Open
Bruce-Lan-ZY opened this issue Sep 9, 2022 · 8 comments
Open

mpe gym.error #28

Bruce-Lan-ZY opened this issue Sep 9, 2022 · 8 comments

Comments

@Bruce-Lan-ZY
Copy link

When I was running the example of mpe python3 src/main.py --config=qmix --env-config=gymma with env_args.time_limit=25 env_args.key="mpe:SimpleSpeakerListener-v0"
I met this issue:
[ERROR 08:07:39] pymarl Failed after 0:00:00!
Traceback (most recent calls WITHOUT Sacred internals):
File "src/main.py", line 36, in my_main
run(_run, config, _log)
File "/root/code/epymarl/src/run.py", line 55, in run
run_sequential(args=args, logger=logger)
File "/root/code/epymarl/src/run.py", line 87, in run_sequential
runner = r_REGISTRY[args.runner](args=args, logger=logger)
File "/root/code/epymarl/src/runners/episode_runner.py", line 15, in init
self.env = env_REGISTRYself.args.env
File "/root/code/epymarl/src/envs/init.py", line 14, in env_fn
return env(**kwargs)
File "/root/code/epymarl/src/envs/init.py", line 81, in init
self._env = TimeLimit(gym.make(f"{key}"), max_episode_steps=time_limit)
File "/root/anaconda3/envs/pymarl/lib/python3.6/site-packages/gym/envs/registration.py", line 235, in make
return registry.make(id, **kwargs)
File "/root/anaconda3/envs/pymarl/lib/python3.6/site-packages/gym/envs/registration.py", line 128, in make
spec = self.spec(path)
File "/root/anaconda3/envs/pymarl/lib/python3.6/site-packages/gym/envs/registration.py", line 143, in spec
mod_name
gym.error.Error: A module (mpe) was specified for the environment but was not found, make sure the package is installed with pip install before calling gym.make()

Did anyone meet this issue?

@semitable
Copy link
Member

Hello,

Have you installed MPE as per the readme?
https://github.com/uoe-agents/epymarl#installing-lbf-rware-and-mpe

@Bruce-Lan-ZY
Copy link
Author

Yes, I reinstall the mpe by the link in this repo.

@minglou1984
Copy link

Hi, I have the same problem, have you solved it?

@papoudakis
Copy link
Member

Hello, you have to install the MPE repo that we link in the README.

@Tingz0
Copy link

Tingz0 commented Jan 18, 2023

Hi, I still have the same problem ( I did install the MPE repo link in the README ). Have you solved it ?

@Tingz0
Copy link

Tingz0 commented Jan 18, 2023

I install seaborn and solve this problem.

@9721zhang
Copy link

When I was running the example of mpe python3 src/main.py --config=qmix --env-config=gymma with env_args.time_limit=25 env_args.key="mpe:SimpleSpeakerListener-v0"
I meet:
gym.error.Error: A module (mpe) was specified for the environment but was not found, make sure the package is installed with pip install before calling gym.make()?

I install seaborn but don't solve this problem.

@Yuxin916
Copy link

Yuxin916 commented Aug 7, 2023

When I was running the example of mpe python3 src/main.py --config=qmix --env-config=gymma with env_args.time_limit=25 env_args.key="mpe:SimpleSpeakerListener-v0"
I meet:
gym.error.Error: A module (mpe) was specified for the environment but was not found, make sure the package is installed with pip install before calling gym.make()?

I install seaborn but have the following new problem:

python3.8/site-packages/seaborn/utils.py", line 11, in
import pandas as pd
File "/home/xxxx/python3.8/site-packages/pandas/init.py", line 16, in
raise ImportError(
ImportError: Unable to import required dependencies:
pytz: No module named 'zoneinfo'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants