Skip to content

Issue on petting_zoo_api #132

@Dario-B0

Description

@Dario-B0

I get the following error only when i try to use the example for the petting_zoo_api in hello_world_pettingzoo.py :

Traceback (most recent call last):
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/hello_world_pettingzoo.py", line 76, in
main()
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/hello_world_pettingzoo.py", line 51, in main
env = PettingZooMicroRTSGridModeSharedMemVecEnv(2, 0, ai2s=opponents)
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/gym_microrts/petting_zoo_api.py", line 33, in init
super(AECEnv, self).init(
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/gym_microrts/envs/vec_env.py", line 453, in init
super(MicroRTSGridModeSharedMemVecEnv, self).init(
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/gym_microrts/envs/vec_env.py", line 144, in init
self.start_client()
File "/home/dario/Desktop/progetto_RL/MicroRTS-Py/gym_microrts/envs/vec_env.py", line 479, in start_client
from ts import JNIGridnetSharedMemVecClient as Client
ImportError: cannot import name 'JNIGridnetSharedMemVecClient' from 'tests' (unknown location)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions