macad-gym icon indicating copy to clipboard operation
macad-gym copied to clipboard

error when import macad_gym

Open Zhang-Xiaoxue opened this issue 3 years ago • 2 comments

when I try to import macad_gym, there is the following error code.

free(): invalid pointer
Aborted (core dumped)

Could you help me to address this issue?

Zhang-Xiaoxue avatar Jun 18 '21 10:06 Zhang-Xiaoxue

Hi @Zhang-Xiaoxue ,

I am assuming you followed the Getting started guide and set-up your environment?

Could you describe your environment (CARLA server, client versions, python version, MACAD-Gym version) if it's different from what's in the README

Also, can you attach the full console log/stack trace?

praveen-palanisamy avatar Jun 20 '21 07:06 praveen-palanisamy

Hi @praveen-palanisamy ,

Thank you very much for your reply.

Since I alreadyexit() installed Anaconda and Carla, I just pip install macad-gym.

  • OS: Ubuntu 20.04.
  • The location of Carla : /opt/carla-simulator/CarlaUE4.sh.
  • Carla version is 0.9.11.
  • Python version: 3.7.10.

I guess MACAD-Gym version is the latest one.

Then, when I just run import macad-gym, the following massages are showing: image

Zhang-Xiaoxue avatar Jun 23 '21 07:06 Zhang-Xiaoxue