yaml.load() is deprecated when source melodic_ws/setup.bash is executed.
Hi!
I am following the tutorial 1 (http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment) and in the point 3.0 "Creating a new workspace" when I do in my terminal source ~/melodic_ws/setup.bash the next message is return:
<stdin>:21: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Can anyone tell me why occur this and if this warning is important?
Asked by MercAddons on 2019-10-14 17:31:30 UTC
Answers
This is just a warning. As far as I can tell it should not have a practical impact on anything, but recent version of the yaml python package will print this warning to get folks to stop using the normal load
command.
There's nothing you can change about this as far as the base ROS code is concerned, but also nothing you need to worry about. I'm sure at some point one of the core developers will get annoyed by the warnings enough to change the code that causes it.
Asked by Jari on 2019-10-14 19:49:42 UTC
Comments
It would be good if you could provide a little more of the surrounding lines of the message. Or are there no more and this is all that is printed?
Asked by gvdhoorn on 2019-10-15 02:43:58 UTC