carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.05k stars 3.56k forks source link

Carla error fixes please! : 'clmdep_msgpack::v1::type_error' what(): std::bad_cast #6659

Open itserror404 opened 1 year ago

itserror404 commented 1 year ago

Hello, I get the following error:

terminate called after throwing an instance of 'clmdep_msgpack::v1::type_error'
  what():  std::bad_cast

I have installed Carla with the docker method. However when running some code, at this line client = carla.Client('localhost', 5901)

I get this error: AttributeError: module 'carla' has no attribute 'Client'

So, I did pip install Carla. Then I get the above error mentioned:

terminate called after throwing an instance of 'clmdep_msgpack::v1::type_error'
  what():  std::bad_cast

any fixes? Sounds like a version mismatch issue but after uninstalling the Carla I installed using pip, I go back to getting the no attribute error -_-. would appreciate any help!

NehalNevle commented 9 months ago

facing the same error

hlchen1043 commented 8 months ago

Facing the same error too!!!!! Really placed a hurdle on my experiments and research

veinlove55 commented 1 month ago

Facing the same error. Any idea?