Let’s start the discussion about YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated as the default Loader is unsafe. in following Approaches.
home/fuan/miniconda3/envs/bioconda_recipe_gen/lib/python3.6/site-packages/bioconda_utils/utils.py:965: YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. config = yaml.load(open(config))
YAMLLoadWarning: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. ?
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.
import yaml
f = open(filaname_path, 'r')
yaml.load(f, Loader=yaml.FullLoader)
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to write a program without main in c