Open
Description
Hi,
The documentation is inaccurate for my installation.
import yaml_include
--> ModuleNotFoundError: No module named 'yaml_include'
import yamlinclude
OK
but AttributeError: module 'yamlinclude' has no attribute 'Constructor'
I had to do:
yaml.add_constructor("!inc", yamlinclude.YamlIncludeConstructor("pypath"))
The versions I use are below.
JL
Python 3.11.11
conda list |grep yaml
pyyaml 6.0.2 py311h9ecbd09_1 conda-forge
pyyaml-include 1.3 pyhd8ed1ab_1 conda-forge
yaml 0.2.5 h7b6447c_0
Metadata
Metadata
Assignees
Labels
No labels