[Bug Report] Conflict between msgpack 1.0.0 and the deprecated msgpack-python #3511
-
Bug report
What's the issue you encountered?
https://pypi.org/project/msgpack-python/ SettingsN/A How can the issue be reproduced?
Include full error message in text form
What's better than filing an issue? Filing a pull request :). |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@wangwwno1 I tested this on a new machine and everything worked as expected when following the docs and installing The error did appear when i tried to install Edit: To fix this, uninstall the |
Beta Was this translation helpful? Give feedback.
-
@ahmed-elsaharti |
Beta Was this translation helpful? Give feedback.
-
@wangwwno1 it shouldn't matter (as far as the scope of Airsim goes) if either of those packages produces errors though as long as the one recommended in the docs works. If you're trying to make this work just for airsim i would recommend uninstalling the packages mentioned above and installing I'll also do some testing on one more machine to make sure the results are consistent. |
Beta Was this translation helpful? Give feedback.
-
@ahmed-elsaharti
Since msgpack v1.0.0 they have set the default encoding to utf-8 so these arguments are no longer effective. |
Beta Was this translation helpful? Give feedback.
@ahmed-elsaharti
Thanks for your suggestion, but I need the Ray library to parallelize the data collection process and
msgpack-python
is conflict with it. I resolve this issue by:pack_encoding="utf-8"
andunpack_encoding="utf-8"
inVehicleClient
, which locatetd in airsim/client.pySince msgpack v1.0.0 they have set the default encoding to utf-8 so these arguments are no longer effective.